Module common

Module common 

Source

Modules§

entry_payload
Nested message and enum types in EntryPayload.
membership_change
Nested message and enum types in MembershipChange.

Structs§

AddNode
BatchPromote
BatchRemove
Entry
Raft log entry
EntryPayload
Log entry payload
LeaderHint
Leader hint for client redirection Used at: Network layer (gRPC error responses) Purpose: Help clients redirect requests to the current leader Fields: Includes network address for immediate retry
LeaderInfo
Leader election information Used at: Application layer (internal Raft protocol notifications) Purpose: Notify applications about leader changes via watch channel Fields: Minimal - only what Raft protocol needs
LogId
Basic definitions shared across modules
MembershipChange
Cluster configuration change
Noop
Internal operation of the protocol
PromoteLearner
RemoveNode
Snapshot
SnapshotEntry
SnapshotMeta

Enums§

NodeRole
NodeStatus