forked from apache/cassandra-gocql-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix DCAwareRoundRobinPolicy host distribution (apache#986)
DCAwareRoundRobinPolicy currently picks the first host in a map of all local and remote hosts. This has a tendency to pick the same host more frequently than others, resulting in an uneven distribution of operations within the cluster. Modify DCAwareRoundRobinPolicy to more closely match the RoundRobinHostPolicy by always incrementing the hosts in a DC.
- Loading branch information
1 parent
ce5020a
commit 808320e
Showing
3 changed files
with
71 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters