Skip to content

[CELEBORN-2270] Fix problem with eviction to tiered storage during partition split#3610

Closed
eolivelli wants to merge 4 commits intoapache:mainfrom
eolivelli:CELEBORN-2270-fix-partition-split
Closed

[CELEBORN-2270] Fix problem with eviction to tiered storage during partition split#3610
eolivelli wants to merge 4 commits intoapache:mainfrom
eolivelli:CELEBORN-2270-fix-partition-split

Conversation

@eolivelli
Copy link
Copy Markdown
Contributor

@eolivelli eolivelli commented Feb 25, 2026

NOTE: this PR is stacked on top of #3608

Please consider only 756d25e

What changes were proposed in this pull request?

Handle the eviction to a different location type.

Why are the changes needed?

Because it may happen that a MEMORY file is to be evicted to another storage type (i.e. S3). This does not work.

Usually, as described in tests in #3608 when you have tiered storage, the primary partition type is usually not MEMORY, but it may happen that during a partition split the client decides to use MEMORY.

This patch fixes the problem on the worker side.
An alternative fix would be to change the behavior of the client, and simulate what the master does when offering slots.
Such a change would be more involved and it won't make the server side resilient to this scenario.

Does this PR resolve a correctness bug?

No.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

  • New integration tests
  • Manual testing on real k8s cluster with S3

@SteNicholas
Copy link
Copy Markdown
Member

@eolivelli, #3608 has already been merged. Please rebase the latest main branch.

@eolivelli
Copy link
Copy Markdown
Contributor Author

@eolivelli, #3608 has already been merged. Please rebase the latest main branch.

rebased

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SteNicholas
Copy link
Copy Markdown
Member

Thanks. Merged to main(v0.7.0).

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.

4 participants