Skip to main content

Module persistence

Module persistence 

Source
Expand description

WAL and snapshot persistence support.

The server uses PersistenceRuntime to append mutation records and write periodic snapshots. Embedded applications can use SnapshotStore through SnapshotRepository when they want to control persistence orchestration themselves.

Structs§

LoadedSnapshot
PersistenceRuntime
RecoveryState
SnapshotStore
Filesystem-backed snapshot repository.
WalAppender

Enums§

SnapshotCompression
Compression mode used when writing a snapshot file.

Traits§

SnapshotRepository
Snapshot persistence behavior used by WAL recovery and embedded callers.

Functions§

data_dir_path
load_recovery_state