Add interceptCheckpointUpdates to TieringStatusIT and TierCancelIT#21757
Add interceptCheckpointUpdates to TieringStatusIT and TierCancelIT#21757GeekGlider wants to merge 1 commit into
Conversation
Signed-off-by: Kavya Aggarwal <kavyaagg@amazon.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
❌ Gradle check result for acea19b: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Description
Adds
interceptCheckpointUpdatesfix toTieringStatusITandTierCancelITto resolve theReplicationTrackerassertion race condition (GitHub #3923).During tiering operations with segment replication, a checkpoint update can arrive after relocation handoff begins, triggering an assertion in
ReplicationTracker.updateVisibleCheckpointForShard. The fix intercepts theUPDATE_VISIBLE_CHECKPOINTtransport action and gracefully handles theAssertionError— the same approach already applied toHotToWarmTieringServiceITandWarmToHotTieringServiceIT.This PR is intended to be merged into #21749.
Related Issues
Resolves the flaky
TieringStatusIT.testTieringStatusfailure (muted via@AwaitsFixin #21749 commit 7).Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.