Skip to content

[CELEBORN-2351] Partition file sorting should only be paused for PUSH_AND_REPLICATE_PAUSED#3720

Open
s0nskar wants to merge 1 commit into
apache:mainfrom
s0nskar:sort_memory_ready
Open

[CELEBORN-2351] Partition file sorting should only be paused for PUSH_AND_REPLICATE_PAUSED#3720
s0nskar wants to merge 1 commit into
apache:mainfrom
s0nskar:sort_memory_ready

Conversation

@s0nskar
Copy link
Copy Markdown
Contributor

@s0nskar s0nskar commented Jun 5, 2026

What changes were proposed in this pull request?

Partition file sorting should only be paused for PUSH_AND_REPLICATE_PAUSED, which represent very high memory pressure and cause OOM for workers. Sorting should be allowed for PUSH_PAUSED state.

Why are the changes needed?

Currently even for push pause state we stop the sorting for partition files. If pause is sustained for a longer time then sorting can timeout and reader waiting for sorting will fail or be delayed.

Does this PR resolve a correctness bug?

  • Yes

Does this PR introduce any user-facing change?

  • Yes

How was this patch tested?

Existing UTs

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.09%. Comparing base (b4cb5a0) to head (7e60ac2).
⚠️ Report is 56 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3720      +/-   ##
==========================================
+ Coverage   66.91%   67.09%   +0.18%     
==========================================
  Files         358      359       +1     
  Lines       21986    22304     +318     
  Branches     1946     1982      +36     
==========================================
+ Hits        14710    14962     +252     
- Misses       6262     6319      +57     
- Partials     1014     1023       +9     

☔ 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.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant