KeepOldest
Defined in: src/cluster/downing/KeepOldest.ts:25
“Keep oldest” — whichever partition contains the oldest cluster member survives; the other side is downed. “Oldest” is the lowest address when addresses are compared lexicographically — consistent with the leader election in this project.
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new KeepOldest(
settings?):KeepOldest
Defined in: src/cluster/downing/KeepOldest.ts:26
Parameters
Section titled “Parameters”settings?
Section titled “settings?”KeepOldestSettings = {}
Returns
Section titled “Returns”KeepOldest
Methods
Section titled “Methods”decide()
Section titled “decide()”decide(
view):DowningDecision
Defined in: src/cluster/downing/KeepOldest.ts:28
Return addresses to forcibly down. The empty set means “not yet — wait for stability or more heartbeats”.