Skip to content

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.

new StaticQuorum(settings): StaticQuorum

Defined in: src/cluster/downing/StaticQuorum.ts:24

StaticQuorumSettings

StaticQuorum

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”.

ClusterPartitionView

DowningDecision

DowningProvider.decide