Reset

data class Reset(val snapshot: Snapshot) : TurnEvent<Nothing>

The state machine must discard its current state and reset to snapshot — Raft installed a compacted snapshot to catch this lagging node up. Rare: only when log compaction is enabled.

The consumer extracts its own state from a sub-field of Snapshot.state (its own snapshot envelope), including the us.tractat.kuilt.raft.ClientSessionTable high-water-marks it serialized in — it must not treat the whole Snapshot.state as the table bytes.

Constructors

Link copied to clipboard
constructor(snapshot: Snapshot)

Properties

Link copied to clipboard