Majority, the unifying concept
standardadvanced"Majority" means more than half of the replica set's voting members — a specific number computed from the set's configuration, not a vague idea of "most". It is the one number that write concern, elections, and majority read concern all key off, which is exactly why they interact safely with each other.
Think of it as
Every use of "majority" in MongoDB is asking the same underlying question: is this many voting members in agreement? A write concern of "majority" and an election both require that same threshold, which is precisely the structural reason a majority-acknowledged write can never be lost to a failover — the next primary is elected from a group that necessarily overlaps with any majority that already had the write.
What we're doing: Show the overlap guarantee concretely in a 5-member set.
- 6
- This overlap is guaranteed by simple counting — two groups of 3 drawn from only 5 total members cannot both be entirely disjoint.
Why this works: This overlap is not a coincidence or a probability — it is a guaranteed consequence of both operations requiring more than half of the same fixed set of voting members, which is exactly what makes "majority" the threshold every durability guarantee in this section is built on.
Remember: Majority = floor(votingMembers / 2) + 1, and the same threshold governs write concern, read concern, and elections — which is why any two majorities in the same set are guaranteed to overlap, and why that overlap is what protects a majority-committed write from being lost to a failover.
See also: voting members and elections · write concern acknowledgement and durability

