Raft::Node::Role
Inherits Enum < Comparable < Value < Object
The three possible states of a Raft node.
Constants
Follower = 0
Passive state. Responds to RPCs and waits for a leader heartbeat.
Candidate = 1
Transitional state during an election. Requests votes from peers.
Leader = 2
Active state. Handles client requests, replicates log, sends heartbeats.