Repository navigation
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
The retry accounting is correct and covered by focused regression tests.
0 open findings
What changed in this PR
Bounds recoverable scan retries to prevent recursive stack overflow.
Changes:
- Applies retry limits to stale-region and local-index failures.
- Decrements retry counts consistently.
- Adds regression tests for both paths.
| File | Description |
|---|---|
BaseResultIterators.java |
Enforces retry exhaustion. |
BaseResultIteratorsRetryTest.java |
Verifies bounded retries. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Posted by Claude Code on behalf of Andrew Purtell, for the 5.4 stabilization sweep. The sweep ran every unit test and IT class of master @virajjasani, could you please review? |
7e450eb to
e54ada6
Compare
getIterators checked retryCount only for HashJoinCacheNotFoundException, so a persistent StaleRegionBoundaryCacheException recursed through recreateIterators until StackOverflowError. Check the retry budget for every recoverable exception, including the local index build ColumnFamilyNotFoundException path, and rethrow once it is exhausted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
e54ada6 to
84d9a79
Compare
getIterators checked retryCount only for HashJoinCacheNotFoundException, so a persistent StaleRegionBoundaryCacheException recursed through recreateIterators until StackOverflowError. Check the retry budget for every recoverable exception, including the local index build ColumnFamilyNotFoundException path, and rethrow once it is exhausted.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com