Skip to content

[Backport] Skip tombstone segment refresh in metadata cache (#17025)#17112

Merged
abhishekagarwal87 merged 1 commit intoapache:31.0.0from
findingrish:backport_17025_2
Sep 19, 2024
Merged

[Backport] Skip tombstone segment refresh in metadata cache (#17025)#17112
abhishekagarwal87 merged 1 commit intoapache:31.0.0from
findingrish:backport_17025_2

Conversation

@findingrish
Copy link
Copy Markdown
Contributor

Backport #17025 to 31.0.0.

This PR apache#16890 introduced a change to skip adding tombstone segments to the cache.
It turns out that as a side effect tombstone segments appear unavailable in the console. This happens because availability of a segment in Broker is determined from the metadata cache.

The fix is to keep the segment in the metadata cache but skip them from refresh.

This doesn't affect any functionality as metadata query for tombstone returns empty causing continuous refresh of those segments.
@abhishekagarwal87 abhishekagarwal87 merged commit 60ed36c into apache:31.0.0 Sep 19, 2024
@kfaraz kfaraz added this to the 31.0.0 milestone Oct 4, 2024
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