You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in AppBase.java, but in case none of the if branches are being hit (i.e. when --disable_yb_load_balancing_policy is specified on the command line) the custom YB Cassandra Java driver is actually using our PartitionAwarePolicy by default. Therefore to implement --disable_yb_load_balancing_policy correctly, we need to specify the default Cassandra load balancing policy explicitly in the above function.
The text was updated successfully, but these errors were encountered:
Summary: Allow for disabling load balancer for cql load tester with --disable_yb_load_balancing_policy
Test Plan: tested by running the load tester with --disable_yb_load_balancing_policy
Reviewers: robert
Reviewed By: robert
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D5875
As @robertpang noticed, we have this code
in
AppBase.java
, but in case none of theif
branches are being hit (i.e. when--disable_yb_load_balancing_policy
is specified on the command line) the custom YB Cassandra Java driver is actually using our PartitionAwarePolicy by default. Therefore to implement--disable_yb_load_balancing_policy
correctly, we need to specify the default Cassandra load balancing policy explicitly in the above function.The text was updated successfully, but these errors were encountered: