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

Introduce -ingester.ring.spread-minimizing-join-ring-in-order CLI flag #5541

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

duricanikolic
Copy link
Contributor

@duricanikolic duricanikolic commented Jul 19, 2023

What this PR does

This PR adds a new experimental configuration flag -ingester.ring.spread-minimizing-join-ring-in-order that allows an ingester to register tokens in the ring only after all previous ingesters (with ID lower than its own ID) have already been registered.

Which issue(s) this PR fixes or relates to

Part of #4736

Checklist

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

Signed-off-by: Yuri Nikolic <durica.nikolic@grafana.com>
CHANGELOG.md Outdated Show resolved Hide resolved
pkg/ingester/ingester_ring.go Outdated Show resolved Hide resolved
pkg/ingester/ingester_ring.go Outdated Show resolved Hide resolved
pkg/ingester/ingester_ring.go Outdated Show resolved Hide resolved
Signed-off-by: Yuri Nikolic <durica.nikolic@grafana.com>
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@pracucci pracucci enabled auto-merge (squash) July 19, 2023 15:55
@duricanikolic duricanikolic changed the title Allow token generators to execute the CanJoin check Introduce -ingester.ring.spread-minimizing-join-ring-in-order CLI flag Jul 19, 2023
@pracucci pracucci merged commit d93ef20 into main Jul 19, 2023
28 checks passed
@pracucci pracucci deleted the yuri/spread-minimizing-tg branch July 19, 2023 16:14
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