File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
docs/source/load-balancing Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -166,5 +166,11 @@ And only if latency awareness is enabled:
166166
167167If no preferred datacenter is specified, all nodes are treated as local ones.
168168
169- Replicas in the same priority groups are shuffled. Non-replicas are randomly
169+ Replicas in the same priority groups are shuffled[ ^ * ] . Non-replicas are randomly
170170rotated (similarly to a round robin with a random index).
171+
172+ [ ^ * ] : There is an optimisation implemented for LWT requests[ ^ ** ] that routes them
173+ to the replicas in the ring order (as it prevents contention due to Paxos conflicts),
174+ so replicas in that case are not shuffled in groups at all.
175+
176+ [ ^ ** ] : In order for the optimisation to be applied, LWT statements must be prepared before.
You can’t perform that action at this time.
0 commit comments