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/ST-458 hashring redesign #684

Merged
merged 2 commits into from
Oct 3, 2024
Merged

Conversation

mdumais-stratos
Copy link
Contributor

https://qsn.atlassian.net/browse/ST-458

  • redesign hashring to make weighted hashring actually fair
    • hashring is always weighted. If weight is not set, it defaults to 1
    • no more red-black trees. Hashring is now a map of nodes, and a slice of online nodes
    • random hashring methods support specifying seed for deterministic randomness

@alexstratos alexstratos merged commit 3de62fe into dev Oct 3, 2024
2 checks passed
@alexstratos alexstratos deleted the fix/ST-458_hashring_redesign branch October 3, 2024 15:57
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