Skip to content

Make DefaultNodeLocator take the ServerAddressMutations as a parameter #99

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

Merged
merged 1 commit into from
Apr 21, 2019

Conversation

kt81
Copy link

@kt81 kt81 commented Apr 12, 2019

This PR adds a functionality to change the ServerAddressMutations value in the DefaultNodeLocator that control the count of virtual nodes.

In my case, my nodes are too few (only 2) and the count of virtual nodes is not enough to balancing.
I would like to set multiplier to 10000 so that prevent unbalancing.

@cnblogs-dudu cnblogs-dudu merged commit c746585 into cnblogs:master Apr 21, 2019
@cnblogs-dudu
Copy link

Released 2.1.13 for this PR.

@kt81 kt81 deleted the var-virtual-node branch April 24, 2019 06:24
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.

None yet

2 participants