Skip to main content

quorum_threshold

Function quorum_threshold 

Source
pub fn quorum_threshold(members: &[Member]) -> usize
Expand description

Quorum threshold for a set of members: a strict majority of the voting members. Witnesses count; catching-up replicas do not.

For n voting members the threshold is floor(n/2) + 1, the smallest count such that two qualifying sets always intersect — the structural basis for “no two primaries in a term”.