/ THE IDEA
A majority contains more than half the members. Any two majorities of the same fixed membership must overlap. An agreement protocol is a set of communication and voting rules. It combines that overlap with remembered votes and numbered leadership periods to prevent conflicting decisions. The overlap alone is not a full agreement method. A computer that forgets its previous promise could still vote incompatibly. Correct protocols preserve the relevant history through restarts and define how a new leader learns which decisions were already accepted.
THE FORMAL IDEA
majority size = floor(N/2) + 1
| N = number of voting members; floor means round down to the nearest whole number. | | The formula gives the group size needed for a majority. It does not by itself guarantee a particular storage system’s consistency or tolerance of malicious members. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
N = 3 → floor(3/2) + 1 = 1 + 1 = 2. One member can be unavailable while two decide. Split into groups {A,B} and {C}: only {A,B} has a majority. Change to N = 2 → floor(2/2) + 1 = 1 + 1 = 2. One unavailable member now prevents a majority, despite having two stored copies.
|
Three voting members can tolerate one unavailable member while still making majority decisions. Two cannot under the same rule. The result concerns the ability to make progress, rather than how many disk copies physically survive.
/ SO WHAT?
This explains a common odd-numbered design in coordination services. Adding a fourth voter does not increase this particular one-failure tolerance: a majority becomes three. Capacity, geographic placement and recovery needs can justify other choices, but copy count alone is an incomplete reliability argument.
ONE CAVEAT |
| This discussion assumes fixed membership and crash or network failures. Byzantine faults, where members behave arbitrarily, need different assumptions and often larger quorums. |
KEEP THIS
Overlapping decision groups help preserve agreement, but only a protocol that remembers and respects past decisions makes that overlap useful.
|
NEXT: Why more braking force can stop helping
|