Skip to content

KeepReferee

Defined in: src/cluster/downing/KeepReferee.ts:25

“Keep referee” — the partition containing the designated referee node wins. If the referee is unreachable, this side downs itself. Optionally enforce a minimum-quorum rule even when the referee is reachable: if the reachable set has fewer than downAllIfBelowQuorum members including the referee, shut everyone down rather than run with a shaky majority.

new KeepReferee(settings): KeepReferee

Defined in: src/cluster/downing/KeepReferee.ts:26

KeepRefereeSettings

KeepReferee

decide(view): DowningDecision

Defined in: src/cluster/downing/KeepReferee.ts:30

Return addresses to forcibly down. The empty set means “not yet — wait for stability or more heartbeats”.

ClusterPartitionView

DowningDecision

DowningProvider.decide