class
Movie::Cluster::LeaseMajorityCoordinator
Overview
Deterministic lease-majority policy. Only the lowest reachable eligible member attempts the external lease. Every other node survives only while it can observe that lease holder as reachable.
Defined in:
movie/cluster/split_brain.crConstructors
Instance Method Summary
- #check_interval : Time::Span
- #evaluate(now : Time::Instant = Time.instant) : Nil
- #state : SplitBrainState
- #stats : SplitBrainStats
- #stop : Nil
- #strategy : SplitBrainStrategy
Instance methods inherited from class Movie::Cluster::SplitBrainCoordinator
check_interval : Time::Span
check_interval,
evaluate(now : Time::Instant = Time.instant) : Nil
evaluate,
stats : SplitBrainStats
stats,
stop : Nil
stop,
strategy : SplitBrainStrategy
strategy
Constructor Detail
def self.new(cluster : ClusterSafetyView, lease : SplitBrainLease, settings : LeaseMajoritySettings, shutdown : Proc(String, Nil))
#