apurtell opened a new pull request, #2685: URL: https://github.com/apache/phoenix/pull/2685
Addendum to PHOENIX-7828 (#2445). Test-only change, one file. `UCFWithDisabledIndexWithDDLValidationIT.testUcfWithNoGetTableCalls` fails deterministically on master with `PhoenixIOException: Error calling method RegionServerEndpointService.validateLastDDLTimestamp ... Caused by: DoNotRetryIOException: Not allowed`. **Root cause.** PHOENIX-7828 changed the test table from `UPDATE_CACHE_FREQUENCY=20000` to `NEVER`. With `NEVER`, the client sends the last DDL timestamp validation RPC on every commit. The second commit (to `view01`) includes `IDX_V01`, which is not in the region server metadata cache, because `view02` does not inherit it. The cache miss calls `getTable`, and the stub endpoint the test installs rejects it. **Fix.** Use `UPDATE_CACHE_FREQUENCY=172800000` (2 days). A finite UCF lets the client skip the validation RPC while its cache entry is young, as it did before PHOENIX-7828. The value is much longer than the test, so the 20 second client cache race that PHOENIX-7828 fixed does not come back. The assertions do not change. **Verification** (HBase 2.5, JDK 11, each class alone in a fresh JVM): - `UCFWithDisabledIndexWithDDLValidationIT`: 3/3 passes after the fix (failed in both runs before it). - `UCFWithDisabledIndexIT` (parent, validation off): 3/3 passes. - spotless:check clean. Posted by Claude Code on behalf of Andrew Purtell. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
