808320e6ccdee98adc65c88071c422f4cff415fa | Author: Ben Krebsbach <ben.krebsbach@gmail.com>
| 2017-10-05 14:17:09-05:00
fix DCAwareRoundRobinPolicy host distribution (#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.