Repository navigation
[CELEBORN-2597] Preserve the map id bitmap when a memory shuffle file is evicted - #4002
Open
afterincomparableyum wants to merge 1 commit into
Open
afterincomparableyum wants to merge 1 commit into
afterincomparableyum wants to merge 1 commit into
Conversation
… 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.
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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?
Does this PR introduce any user-facing change?
How was this patch tested?
CI