Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue that shuffle sharding planner return error if block is under visit by other compactor #5188

Merged
merged 4 commits into from
Mar 3, 2023

Conversation

alexqyle
Copy link
Contributor

@alexqyle alexqyle commented Mar 1, 2023

What this PR does:
Shuffle sharding planner should not fail the compaction if one of blocks in group is under visit by other compactor. Instead, it should return nil group so that compactor would move onto next compaction.

Checklist

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

…eturn error if block is under visit by other compactor

Signed-off-by: Alex Le <leqiyue@amazon.com>
Signed-off-by: Alex Le <leqiyue@amazon.com>
Signed-off-by: Alex Le <leqiyue@amazon.com>
Signed-off-by: Alex Le <leqiyue@amazon.com>
@alexqyle alexqyle marked this pull request as ready for review March 1, 2023 18:12
@alanprot
Copy link
Member

alanprot commented Mar 3, 2023

Thanks!

@alanprot alanprot merged commit 42ce122 into cortexproject:master Mar 3, 2023
@alexqyle alexqyle deleted the visit-marker-issue branch March 21, 2023 17:59
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.

None yet

3 participants