Module node

Module node 

Source
Expand description

Raft node implementation

Coordinates all Raft components:

  • State machine management
  • RPC message handling
  • Log replication
  • Leader election
  • Client request processing

Structsยง

Command
Command to apply to the state machine
CommandResult
Result of applying a command
RaftNode
The Raft consensus node
RaftNodeConfig
Configuration for a Raft node