Skip to main content

Module commit_log

Module commit_log 

Source
Expand description

Commit-log abstraction (spec sections 6.2 and 9.4, FND-004).

CommitLog is the single authority through which commands become committed. Standalone mode has one implementation wrapping the shared WAL group commit (in mongreldb-core); replicated mode implements the same contract over Raft (Stage 2). The storage apply path receives only committed commands.

Structs§

CommitReceipt
Proof that a command crossed its durable commit fence (spec S1B-004).
CommittedEntry
One committed log entry returned by CommitLog::read_committed.
ExecutionControl
Deadline and cancellation for log operations.
LogPosition
A position in one commit log. term is zero for the standalone log.
LogSnapshot
A point-in-time image of applied state at a log boundary.

Enums§

DurabilityLevel
Durability guarantee attached to a committed command.
LogError
Errors produced by a CommitLog.

Traits§

CommitLog
The single authority through which commands become committed.