Skip to content

[CELEBORN-2597] Preserve the map id bitmap when a memory shuffle file is evicted - #4002

Open
afterincomparableyum wants to merge 1 commit into
apache:mainfrom
afterincomparableyum:celeborn-2597
Open

afterincomparableyum wants to merge 1 commit into
apache:mainfrom
afterincomparableyum:celeborn-2597

Conversation

@afterincomparableyum

@afterincomparableyum afterincomparableyum commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Evicting a memory file creates the new tier writer with a fresh ReducePartitionMetaHandler, so with range read filtering enabled the committed bitmap only covered map ids written after the eviction. Readers then skipped the file for map ranges that were written before the eviction, silently dropping shuffle data.

Carry the bitmap over to the new tier's meta handler during eviction so this issue is fixed.

Why are the changes needed?

This is a bug fix.

Does this PR resolve a correctness bug?

  • Yes

Does this PR introduce any user-facing change?

  • Yes

How was this patch tested?

CI

… is evicted

Evicting a memory file creates the new tier writer with a fresh ReducePartitionMetaHandler, so with range read filtering enabled the committed bitmap only covered map ids written after the eviction. Readers then skipped the file for map ranges that were written before the eviction, silently dropping shuffle data.

Carry the bitmap over to the new tier's meta handler during eviction so this issue is fixed.
@github-actions github-actions Bot added module:worker correctness Correctness bugfix labels Nov 21, 2026
@codecov

codecov Bot commented Nov 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.86%. Comparing base (dfdada3) to head (ec6d18b).
⚠️ Report is 16 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4002      +/-   ##
============================================
+ Coverage     62.64%   62.86%   +0.22%     
  Complexity      451      451              
============================================
  Files           407      407              
  Lines         29032    29035       +3     
  Branches       2858     2861       +3     
============================================
+ Hits          18185    18249      +64     
+ Misses         9467     9396      -71     
- Partials       1380     1390      +10     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant