pub fn quorum_threshold(members: &[Member]) -> usizeExpand 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”.