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

fix shards computation when there is no metrics yet #26

Merged
merged 1 commit into from
May 24, 2024

Conversation

hervenicol
Copy link
Contributor

What this PR does / why we need it

For fresh clusters, when there is no data yet in Mimir, the operator was failing to define the number of shards.
This PR should fix it by using the defaultShards value in this case.

Checklist

  • Update changelog in CHANGELOG.md.

@hervenicol hervenicol self-assigned this May 24, 2024
@hervenicol hervenicol requested a review from a team as a code owner May 24, 2024 09:19
@hervenicol hervenicol force-pushed the fix-shard-computation branch from 277313d to c642edc Compare May 24, 2024 09:31
@hervenicol hervenicol merged commit f7330c2 into main May 24, 2024
6 checks passed
@hervenicol hervenicol deleted the fix-shard-computation branch May 24, 2024 10:18
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.

3 participants