Skip to content

v3.1: fix(repair): keep processing batch in process_replay_updates by using continue (backport of #9339)#9375

Merged
AshwinSekar merged 1 commit intov3.1from
mergify/bp/v3.1/pr-9339
Dec 3, 2025
Merged

v3.1: fix(repair): keep processing batch in process_replay_updates by using continue (backport of #9339)#9375
AshwinSekar merged 1 commit intov3.1from
mergify/bp/v3.1/pr-9339

Conversation

@mergify
Copy link

@mergify mergify bot commented Dec 2, 2025

process_replay_updates used return to skip non-actionable updates, which aborted processing of the remaining items in the same try_iter batch. Replace the early returns with continue so we only skip the current update and still handle the rest. This aligns with similar patterns in replay_stage. Added a regression test to ensure a skipped update (slot <= root) does not prevent processing a subsequent actionable update in the same call.


This is an automatic backport of pull request #9339 done by Mergify.

@mergify mergify bot requested a review from a team as a code owner December 2, 2025 23:02
@codecov-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.2%. Comparing base (f9896ad) to head (440a705).

Additional details and impacted files
@@           Coverage Diff           @@
##             v3.1    #9375   +/-   ##
=======================================
  Coverage    83.2%    83.2%           
=======================================
  Files         865      865           
  Lines      375946   375981   +35     
=======================================
+ Hits       313033   313072   +39     
+ Misses      62913    62909    -4     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AshwinSekar AshwinSekar merged commit e16786f into v3.1 Dec 3, 2025
44 checks passed
@AshwinSekar AshwinSekar deleted the mergify/bp/v3.1/pr-9339 branch December 3, 2025 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants