Both 3.x and 4.x ignore LoadBalancingPolicy and return all the replicas in the same order they get it from vnodes or tablets for LWT statements and it seems wrong to me:
As result there is no way to make them target rack or dc, even more than that, when user feeds RackAwareRoundRobinPolicy to cluster config LWT queries are getting routed, unexpectedly, to all racks.
Both
3.x
and4.x
ignoreLoadBalancingPolicy
and return all the replicas in the same order they get it fromvnodes
or tablets forLWT
statements and it seems wrong to me:As result there is no way to make them target rack or dc, even more than that, when user feeds
RackAwareRoundRobinPolicy
to cluster configLWT
queries are getting routed, unexpectedly, to all racks.