Skip to main content

Module wal

Module wal 

Source
Expand description

Session write-ahead log — crash recovery via append-only log.

Every session state transition is appended to a WAL before being applied to the in-memory state. On crash, the WAL is replayed to reconstruct the session state up to the last persisted transition.

Structs§

SessionWal
Append-only write-ahead log backed by a file.
WalEntry
A single WAL entry recording a state transition.

Enums§

StateTransition
A session state transition.