Skip to content

compact: atomically replace no compact marked map (#6319)#56

Merged
GiedriusS merged 1 commit intov0.31.0+vintedfrom
v0.31.0+vinted_atomic_replace
Apr 26, 2023
Merged

compact: atomically replace no compact marked map (#6319)#56
GiedriusS merged 1 commit intov0.31.0+vintedfrom
v0.31.0+vinted_atomic_replace

Conversation

@GiedriusS
Copy link

Pull thanos-io#6319 from main.

With lots of blocks it could take some time to fill this no compact
marked map hence replace it atomically. I believe this leads to problems
in the compaction planner where it picks up no compact marked blocks
because meta syncer does synchronizations concurrently.

Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
@GiedriusS GiedriusS merged commit f48a751 into v0.31.0+vinted Apr 26, 2023
@GiedriusS GiedriusS deleted the v0.31.0+vinted_atomic_replace branch April 26, 2023 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants