RaftTraceEvent
One engine state transition, emitted on RaftNode.trace.
The event vocabulary follows the etcd TLA+ action names so traces can be replayed through the Vanlightly standard-raft TLA+ spec for TLC validation.
Inheritors
Types
commitIndex advanced.
AppendEntries RPC sent (including heartbeats — entryCount=0).
AppendEntries accepted by follower.
AppendEntries rejected by follower.
Node stepped down to follower.
Node became leader.
A client proposal was appended to the leader's log.
A config entry was appended to the log (adopted on append, per §6). Emitted by both the leader (on RaftNode.changeMembership) and followers (on receiving the AppendEntries carrying the config entry). This is the primary assertion point for membership-change tests — config and term are private engine state, so tests observe transitions through this event.
§7 InstallSnapshot chunk sent to a follower whose needed prefix has been compacted away.
A follower finished reassembling and installed a snapshot.
A leadership transfer was abandoned — either because the auto-timeout expired before the target won an election, or because RaftNode.cancelTransfer was called explicitly. reason describes which path fired. Normal proposal acceptance is resumed.
The leader started a leadership transfer to target. Proposals are blocked until the transfer completes or is abandoned.
Node denied a pre-vote to a candidate.
Node granted a pre-vote to a candidate.
Pre-vote phase started: candidate broadcasts hypothetical-term requests.
RequestVote RPC sent.
Vote denied to a candidate.
Vote granted to a candidate.