Quorum reads/writes concept page. Leaderless replica set N=3 (r1, r2, r3), client → coordinator → replicas pattern. Shows W+R>N strong consistency formula, ONE/QUORUM/ALL/LOCAL_QUORUM tunable consistency, sloppy quorum + hinted handoff during partition. Three scenarios: QUORUM strong (W=2,R=2,N=3), ONE/ONE fast-but-stale, sloppy quorum with hinted handoff replay after partition heal. Two ADRs: tunable W/R per workload, sloppy vs strict quorum trade-off.
For replication factor N, a write consistency level waits for W acknowledgements and a read waits for R responses. The classic visibility condition R + W > N guarantees an intersection between an acknowledged write quorum and a later read quorum. It helps only when the resolver can identify the correct newest version and the membership/failure model matches the arithmetic.
With N=3, W=2, R=2, every read quorum intersects the acknowledged write quorum. ONE + ONE does not. This overlap is not consensus, serializable transactions, or unconditional linearizability. Concurrent writes, ambiguous timeouts, cross-datacenter consistency levels, hinted handoff, and repair all need explicit semantics.
N is the replication factor for the relevant key and replica set, not the number of currently reachable nodes.R+W>N forces read/write quorum intersection for the same replica set.LOCAL_QUORUM gives a local-DC threshold, not global freshest-after-remote-write semantics.rf3-quorum-overlap): The coordinator fans out and returns after two durable acknowledgements; a two-replica read intersects.one-one-stale-read): A read from the non-acknowledging replica need not see the write.write-timeout-ambiguous): One replica may commit before the acknowledgement path times out.local-quorum-remote-stale): A completed local-DC write may not yet be visible to a different DC local quorum.hinted-handoff): A hint helps a temporarily unavailable replica but remains bounded and best-effort.concurrent-writes): Overlapping quorums can still contain concurrent values requiring semantic resolution.R+W>N is not a substitute for version correctness, fencing, or consensus.Введите числа или выберите пресет