Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
The default load balancing policy in cassandra-stress is null, which means that the driver will currently wrap DCAwareRoundRobinPolicy with TokenAwarePolicy.
However, when a white list of nodes or a data center are specified in the command line options, then either WhiteListPolicy or DCAwareRoundRobinPolicy are used respectively, without wrapping them in a TokenAwarePolicy.
This means that in the default case token aware routing is applied, but in some cases it is not. Token aware routing could give a performance boost of up to 2.5 times on bare metal, making comparisons of workloads problematic, if it is applied inconsistently.