scylladb / scylla-tools-java

Apache Cassandra, supplying tools for Scylla
Apache License 2.0
53 stars 85 forks source link

cassandra-stress: use RackAwareRoundRobinPolicy if rack is specified #359

Closed sylwiaszunejko closed 11 months ago

sylwiaszunejko commented 11 months ago

Previously even if rack was specified the TokenAwarePolicy (with RackAwareRoundRobinPolicy 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