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

mimir: assert on unexpected value in ingester_partitions_shard_size #10746

Merged
merged 2 commits into from
Feb 27, 2025

Conversation

narqo
Copy link
Contributor

@narqo narqo commented Feb 26, 2025

What this PR does

This PR adds a new assertion to the mimir Jsonnet bundle, that verifies the value set in the $._config.shuffle_sharding.ingester_partitions_shard_size to be derived from the existing ingester_shard_size.

As outlined in the code comments, we, generally, assume that the RF=3 (replciation factor) in the classic architecture, and so expect the ingester_partitions_shard_size == ingester_shard_size / RF.

Which issue(s) this PR fixes or relates to

Relates to #7804

Checklist

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

…size

Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
@narqo narqo requested a review from a team as a code owner February 26, 2025 13:01
Signed-off-by: Vladimir Varankin <vladimir.varankin@grafana.com>
@narqo narqo force-pushed the vldmr/mimir-validate-part-shard-size branch from eb10875 to 7c1a319 Compare February 26, 2025 13:01
@narqo narqo merged commit 22103be into main Feb 27, 2025
28 checks passed
@narqo narqo deleted the vldmr/mimir-validate-part-shard-size branch February 27, 2025 17:30
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