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.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new KeepReferee(
settings):KeepReferee
Defined in: src/cluster/downing/KeepReferee.ts:26
Parameters
Section titled “Parameters”settings
Section titled “settings”Returns
Section titled “Returns”KeepReferee
Methods
Section titled “Methods”decide()
Section titled “decide()”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”.