Skip to content

Conversation

alanprot
Copy link
Member

@alanprot alanprot commented Jul 5, 2024

What this PR does:
Before this PR, the MinimizeSpreadTokenGenerator was not taking into consideration the current ownership of an ingester when generating extra tokens for it.

Lets say that the expected ownership of an ingester is 5% and we it already have 3% ownership. When trying to generate new tokens before this fix, the ingester would end up with 8% ownership instead of 5%.
This case can happen when we have tokens conflict.

Which issue(s) this PR fixes:
Fixes #

Checklist

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

@alanprot alanprot force-pushed the fix/partial-token-generation branch 2 times, most recently from 009f61e to 27ea0a2 Compare July 5, 2024 16:05
@alanprot alanprot force-pushed the fix/partial-token-generation branch from 27ea0a2 to e292b54 Compare July 5, 2024 16:06
@alanprot alanprot requested a review from yeya24 July 5, 2024 16:40
@alanprot alanprot merged commit d1b6d26 into master Jul 5, 2024
@friedrichg friedrichg deleted the fix/partial-token-generation branch January 15, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants