Quorum write and Quorum read allow to detect staled valuestale values in a leaderless replication system.
For example, we have 3 replicators A, B, C (N=3). C is down during a user update. The update is accepted inon both A and B (Write = 2).
When the user reads the value, C comes back. It's possible to read a staledstale value in C. In order to detect the staledstale value, the user will also read from B (Read = 2).
When the user received updates from B and C, a version number can be used to determine which value is newer(B havehas a newer version number).
In this scenario, where Write = 2, Read = 2, N = 3, R + W > 3, we are certain that any staledstale value can be detected.
For R + W = 3, it's possible to have writewritten in A and B, but only read from C. WeIn this case, we can't detect the staledstale value.