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

Modify WritableInstancesInZoneCount to WritableInstancesWithTokensCount. #562

Conversation

pstibrany
Copy link
Member

What this PR does:

PR #560 added WritableInstancesInZoneCount and WritableInstancesWithTokensInZoneCount methods to be used by Mimir limits computation when using new read-only ingester mode.

However to compute limits we need WritableInstancesWithTokensCount when zone-awareness is disabled, and don't need WritableInstancesInZoneCount. This PR replaces WritableInstancesInZoneCount with WritableInstancesWithTokensCount.

Checklist

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

pstibrany added a commit to jhalterman/mimir that referenced this pull request Aug 14, 2024
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
@pstibrany pstibrany merged commit 364c986 into main Aug 14, 2024
6 checks passed
@pstibrany pstibrany deleted the Modify-WritableInstancesInZoneCount-to-WritableInstancesWithTokensCount branch August 14, 2024 15:05
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