StaticQuorum
Defined in: src/cluster/downing/StaticQuorum.ts:23
“Static quorum” — as long as at least quorumSize reachable members are
up on this side, keep them and down the rest. Otherwise, down ourselves.
This is the safest SBR choice when you know the expected cluster size and want to avoid split-brain at the cost of availability when sections shrink below the threshold.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new StaticQuorum(
settings):StaticQuorum
Defined in: src/cluster/downing/StaticQuorum.ts:24
Parameters
Section titled “Parameters”settings
Section titled “settings”Returns
Section titled “Returns”StaticQuorum
Methods
Section titled “Methods”decide()
Section titled “decide()”decide(
view):DowningDecision
Defined in: src/cluster/downing/StaticQuorum.ts:30
Return addresses to forcibly down. The empty set means “not yet — wait for stability or more heartbeats”.