Closed sylwiaszunejko closed 11 months ago
Previously even if rack was specified the TokenAwarePolicy (with RackAwareRoundRobinPolicy as a child policy) was used in cassandra-stress.
rack
TokenAwarePolicy
RackAwareRoundRobinPolicy
Now if additional arguments are provided it use actual policy specified without wrapping it with TokenAwarePolicy.
Fixes: https://github.com/scylladb/java-driver/issues/255
Previously even if
rack
was specified theTokenAwarePolicy
(withRackAwareRoundRobinPolicy
as a child policy) was used in cassandra-stress.Now if additional arguments are provided it use actual policy specified without wrapping it with
TokenAwarePolicy
.Fixes: https://github.com/scylladb/java-driver/issues/255