Skip to content

Fix batch resend bug caused by prefetch limit - #454

Merged
koujl merged 1 commit into
eBay:stable/v4.xfrom
koujl:prefetch
Jul 30, 2026
Merged

Fix batch resend bug caused by prefetch limit#454
koujl merged 1 commit into
eBay:stable/v4.xfrom
koujl:prefetch

Conversation

@koujl

@koujl koujl commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Retained look-ahead data could exhaust the donor prefetch budget while rebuilding a resent batch, preventing a required earlier blob from being loaded and causing each retry to fail at the same cursor, sticking the resync progress at the same point.

Allow blobs preceding the retained prefetch frontier to bypass the bounded look-ahead budget, and cover the scenario with a focused regression test.

Context: https://jirap.corp.ebay.com/browse/SDSTOR-24121

Retained look-ahead data could exhaust the donor prefetch budget while
rebuilding a resent batch, preventing a required earlier blob from being
loaded and causing each retry to fail at the same cursor, sticking the
resync progress at the same point.

Allow blobs preceding the retained prefetch frontier to bypass the
bounded look-ahead budget, and cover the scenario with a focused
regression test.
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (stable/v4.x@1964c2e). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@              Coverage Diff               @@
##             stable/v4.x     #454   +/-   ##
==============================================
  Coverage               ?   54.07%           
==============================================
  Files                  ?       36           
  Lines                  ?     5346           
  Branches               ?      673           
==============================================
  Hits                   ?     2891           
  Misses                 ?     2163           
  Partials               ?      292           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@koujl
koujl marked this pull request as ready for review July 30, 2026 01:49

@Besroy Besroy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@koujl
koujl merged commit ec55254 into eBay:stable/v4.x Jul 30, 2026
48 of 49 checks passed
@koujl
koujl deleted the prefetch branch July 30, 2026 09:20
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