You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefania (JIRA)" <ji...@apache.org> on 2016/11/17 03:31:58 UTC
[jira] [Created] (CASSANDRA-12919) Fix inconsistencies in
cassandra-stress load balancing policy
Stefania created CASSANDRA-12919:
------------------------------------
Summary: Fix inconsistencies in cassandra-stress load balancing policy
Key: CASSANDRA-12919
URL: https://issues.apache.org/jira/browse/CASSANDRA-12919
Project: Cassandra
Issue Type: Bug
Components: Tools
Reporter: Stefania
Assignee: Stefania
Priority: Minor
Fix For: 3.0.x, 3.x
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)