Structs§
- Append
Request - AppendEntries RPC — sent by the leader for heartbeats and log replication.
- Append
Response - AppendEntries RPC response.
- Cluster
Configuration - A set of voting members.
- Cluster
Member - A voting member with network endpoints (replicated in config-change entries).
- Config
Change Request - Simple membership change request (prototype; full joint consensus later).
- Config
Change Response - Envelope
- A directed message between two Raft nodes.
- Install
Snapshot Request - Sent by leader to install a snapshot on a follower that is far behind or is a new node (Raft §7).
- Install
Snapshot Response - LogEntry
- A single entry in the Raft log.
- LogIndex
- Index into the Raft log. 1-based;
LogIndex(0)means “no entry”. - MemLog
- In-memory Raft log. Entries are 1-indexed (logical).
- NodeId
- Unique identity of a node within a Raft cluster.
- Raft
Apply Command - A command committed by Raft that the storage engine should apply.
- Raft
Config - Static configuration for a single Raft node.
- Raft
Node - A complete Raft state-machine node.
- Raft
Status - Observable snapshot of a node’s state (no mutable access).
- Term
- Raft term number. Increases monotonically.
- Vote
Request - RequestVote RPC — sent by a candidate to request a vote.
- Vote
Response - RequestVote RPC response.
Enums§
- Config
Change Phase - Phase of a membership configuration change (joint consensus).
- Effective
Config - Effective configuration during normal or joint-consensus operation.
- Message
- All messages exchanged between Raft nodes.
- Raft
Command - A replicated command stored in the Raft log.
- Role
- Current role of a Raft node within a term.