-
Notifications
You must be signed in to change notification settings - Fork 812
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
fix cortex_compactor_remaining_planned_compactions not set after plan generation #4772
fix cortex_compactor_remaining_planned_compactions not set after plan generation #4772
Conversation
51b7743
to
5c0f7e6
Compare
@roystchiang can you please explain why
is an issue? |
if users are setting HPA for compactor based on this metric, it will not scale out properly as needed. |
a088771
to
8f8d2fe
Compare
Nice Catch! |
@roystchiang can you merge this into release-1.13 branch instead? I will work on merging it back to main branch later - this is part of the release process |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like when we have more tests than code changes 🥳
CHANGELOG.md
Outdated
@@ -47,6 +47,7 @@ | |||
* [BUGFIX] Memberlist: Avoid clock skew by limiting the timestamp accepted on gossip. #4750 | |||
* [BUGFIX] Compactor: skip compaction if there is only 1 block available for shuffle-sharding compactor. #4756 | |||
* [BUGFIX] Compactor: Fixes #4770 - an edge case in compactor with shulffle sharding where compaction stops when a tenant stops ingesting samples. #4771 | |||
* [BUGFIX] Compactor: fix cortex_compactor_remaining_planned_compactions not set after plan generation. #4772 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice if we make it clear it's only for shuffle sharding like the above bug fix :-)
… generation Signed-off-by: Roy Chiang <[email protected]>
This commit essentially pulls in #4772 from 1.13 release branch.
What this PR does:
cortex_compactor_remaining_planned_compactions
is not getting set as plans are generated. This PR fixes the issueWhich issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]