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 01eb2e8 commit 2ad9ba6Copy full SHA for 2ad9ba6
cassandra/policies.py
@@ -476,12 +476,12 @@ class TokenAwarePolicy(LoadBalancingPolicy):
476
477
_child_policy = None
478
_cluster_metadata = None
479
- shuffle_replicas = False
+ shuffle_replicas = True
480
"""
481
Yield local replicas in a random order.
482
483
484
- def __init__(self, child_policy, shuffle_replicas=False):
+ def __init__(self, child_policy, shuffle_replicas=True):
485
self._child_policy = child_policy
486
self.shuffle_replicas = shuffle_replicas
487
0 commit comments