Skip to content

compact: ignore blocks with deletion mark in partial deletes#8410

Merged
GiedriusS merged 1 commit into
mainfrom
partial_delete_marked
Aug 4, 2025
Merged

compact: ignore blocks with deletion mark in partial deletes#8410
GiedriusS merged 1 commit into
mainfrom
partial_delete_marked

Conversation

@GiedriusS

Copy link
Copy Markdown
Member

Blocks deletion always starts with meta.json so if there are multiple shards of the compactor then one shard can also start to try to delete the same block because it detects them as partial. Hence, ignore deletion marks in the partial block cleaning function because blocks with deletion mark as handled in the other flow.

Blocks deletion always starts with meta.json so if there are multiple
shards of the compactor then one shard can also start to try to delete
the same block because it detects them as partial. Hence, ignore
deletion marks in the partial block cleaning function because blocks
with deletion mark as handled in the other flow.

Signed-off-by: Giedrius Statkevičius <[email protected]>
@GiedriusS
GiedriusS merged commit 899abc1 into main Aug 4, 2025
19 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants