Skip to content

Conversation

@danielblando
Copy link
Contributor

What this PR does:
Introduce new check if grouper still exist before planner allow compactor to start to prevent race condition on compactor focusing on the short term proposed on #7075

Which issue(s) this PR fixes:
Fixes #7075

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Daniel Deluiggi <[email protected]>
@danielblando danielblando force-pushed the compactor-race-condition branch from 608c59c to 17a44b9 Compare October 31, 2025 19:34
Copy link
Contributor

@anna-tran anna-tran left a comment

Choose a reason for hiding this comment

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

Nice, thanks for fixing this!

Signed-off-by: Daniel Deluiggi <[email protected]>
@danielblando danielblando force-pushed the compactor-race-condition branch from c7c99f6 to e091106 Compare October 31, 2025 22:16
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks!

@yeya24 yeya24 merged commit 7b1ebb2 into cortexproject:master Oct 31, 2025
18 checks passed
@danielblando danielblando deleted the compactor-race-condition branch October 31, 2025 22:50
yeya24 pushed a commit to yeya24/cortex that referenced this pull request Nov 4, 2025
yeya24 added a commit that referenced this pull request Nov 4, 2025
* Fix metric name validation to use correct validation scheme method (#7087)

Signed-off-by: Anna Tran <[email protected]>

* bump to 1.20.0-rc.1

Signed-off-by: yeya24 <[email protected]>

* Fix visit marker race condition (#7082)

* update changelog

Signed-off-by: yeya24 <[email protected]>

---------

Signed-off-by: Anna Tran <[email protected]>
Signed-off-by: yeya24 <[email protected]>
Co-authored-by: Anna Tran <[email protected]>
Co-authored-by: Daniel Blando <[email protected]>
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.

Compactor: Race condition between cleaner and compactor of partitioning compaction could cause incorrect compaction results

3 participants