We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30f6d78 commit b460f39Copy full SHA for b460f39
cassandra/policies.py
@@ -478,12 +478,12 @@ class TokenAwarePolicy(LoadBalancingPolicy):
478
_child_policy = None
479
_cluster_metadata = None
480
_tablets_routing_v1 = False
481
- shuffle_replicas = False
+ shuffle_replicas = True
482
"""
483
Yield local replicas in a random order.
484
485
486
- def __init__(self, child_policy, shuffle_replicas=False):
+ def __init__(self, child_policy, shuffle_replicas=True):
487
self._child_policy = child_policy
488
self.shuffle_replicas = shuffle_replicas
489
0 commit comments