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

allow compactor unregisteronshutdown to be configurable #5503

Merged

Conversation

wenxu1024
Copy link
Contributor

@wenxu1024 wenxu1024 commented Aug 9, 2023

What this PR does:
Allow the compactor ring unregisteronshutdown to be configurable. So during compactor statefulset rollout restart, the ring topology can stay the same, without causing resharding and re download of blocks.

Which issue(s) this PR fixes:
Fixes #

Checklist

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

Signed-off-by: Wen Xu <wenxuamz@amazon.com>
@wenxu1024 wenxu1024 force-pushed the compactor-unregister-on-shutdown branch from 0ab7cea to eac2822 Compare August 9, 2023 16:51
Signed-off-by: Wen Xu <wenxuamz@amazon.com>
@pull-request-size pull-request-size bot added size/S and removed size/XS labels Aug 9, 2023
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, lgtm!

@yeya24 yeya24 merged commit bf8c040 into cortexproject:master Aug 9, 2023
wenxu1024 added a commit to wenxu1024/cortex that referenced this pull request Aug 9, 2023
…t#5503)

* allow compactor unregisteronshutdown to be configurable

Signed-off-by: Wen Xu <wenxuamz@amazon.com>

* fix lint, add changelog

Signed-off-by: Wen Xu <wenxuamz@amazon.com>

---------

Signed-off-by: Wen Xu <wenxuamz@amazon.com>
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