Skip to content

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

Open
eolivelli wants to merge 18 commits intoapache:mainfrom
eolivelli:CELEBORN-2270-fix-partition-split
Open

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

Conversation

@eolivelli
Copy link
Contributor

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

@eolivelli eolivelli force-pushed the CELEBORN-2270-fix-partition-split branch from 756d25e to 7d621c1 Compare February 25, 2026 16:33
@eolivelli eolivelli force-pushed the CELEBORN-2270-fix-partition-split branch from 7d621c1 to a9e2063 Compare February 25, 2026 16:35
@eolivelli eolivelli force-pushed the CELEBORN-2270-fix-partition-split branch from d89700e to 140549a Compare February 26, 2026 11:09
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