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

Modify the consistent hash #147

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

baiyina
Copy link
Contributor

@baiyina baiyina commented Sep 12, 2024

  1. Modified the consistent hashing algorithm to fix a bug where only one real node was being accessed.
  2. Updated the corresponding unit tests to reflect the changes."

1. Modified the consistent hashing algorithm to fix a bug where only one real node was being accessed.
2. Updated the corresponding unit tests to reflect the changes."
@crossoverJie crossoverJie added this to the 
v2.0.0 milestone Sep 12, 2024
@crossoverJie crossoverJie added the bug Something isn't working label Sep 12, 2024
Based on crossoverJie’s review, made code modifications
Copy link
Owner

@crossoverJie crossoverJie left a comment

Choose a reason for hiding this comment

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

LGTM

@crossoverJie crossoverJie merged commit 8703c9c into crossoverJie:master Sep 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

服务节点集群部署,hash算法选择节点时bug TreeMapConsistentHash存在一个Bug
2 participants