apurtell commented on PR #2698:
URL: https://github.com/apache/phoenix/pull/2698#issuecomment-7085390057

   Posted by Claude Code on behalf of Andrew Purtell.
   
   The three failing checks are unrelated to this change (pom-only log4j-api 
bump).
   
   **NeedsOwnMiniClusterTest Q-Z**: 
`UCFWithDisabledIndexWithDDLValidationIT.testUcfWithNoGetTableCalls` fails the 
same way as on #2696. This is the known deterministic failure that #2685 
(PHOENIX-7828 Addendum) fixes. The fix is test-only. 5.3 needs a backport after 
#2685 merges.
   
   **NeedsOwnMiniClusterTest L-P**: 
`MetaDataEndPointIT.testMetadataMetricsOfDropTable` fails at line 151 with 
`expected:<223538> but was:<231531>`. This is a race in the test with a 
background server thread:
   1. The test captures a baseline of the global 
`METADATA_CACHE_ESTIMATED_USED_SIZE` metric, drops its table, and expects an 
exact value after the drop.
   2. An earlier test in the class (`testUpdateIndexState`) created 
`N000001.N000002`. Its region opened at 12:08:22.268 and started an 
`IndexCDCConsumer` thread. That thread has a 10 s startup delay.
   3. The consumer woke up during the drop test. The DROP ran at 12:08:32.665. 
At 32.709 the consumer's server-side `getTable` re-cached `N000001.N000002` 
("Caching table ... versus -1", so the entry had expired). At 32.714 it exited 
with "No CDC index found".
   4. That cache put adds the entry's estimated size to the same global metric 
inside the test's measurement window. The result is the extra 7993 bytes.
   
   The class runs in its own fork. But the metric is server-global, and the 
consumer threads of earlier tests in the class are still in the same JVM. The 
test cannot assume it is the only writer. A robust fix measures only the 
dropped table, or disables or waits for the CDC consumers in this class.
   
   **Test coverage**: Same as #2696. Most of the report is the known 
categorization gap, which pending category fixes cover. These four pherf ITs 
under "should have run" are a side effect of the L-P and Q-Z failures:
   - `PherfMainIT`
   - `SchemaReaderIT`
   - `TenantTableOperationWorkloadIT`
   - `TenantViewOperationWorkloadIT`
   
   Both jobs stopped at `phoenix-core`, so `phoenix-pherf` never ran.
   
   Conclusion: these failures are not caused by this PR.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to