KeepReferee
이 콘텐츠는 아직 번역되지 않았습니다.
Defined in: src/cluster/downing/KeepReferee.ts:17
“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(
options):KeepReferee
Defined in: src/cluster/downing/KeepReferee.ts:20
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”KeepReferee
Methods
Section titled “Methods”decide()
Section titled “decide()”decide(
view):DowningDecision
Defined in: src/cluster/downing/KeepReferee.ts:25
Return addresses to forcibly down. The empty set means “not yet — wait for stability or more heartbeats”.
