Skip to main content

Crate corium_log

Crate corium_log 

Source
Expand description

Durable append-only transaction logs with replay and range scans.

Structs§

FileLog
Filesystem append log. Each append is flushed and fsynced before returning.
MemLogRegistry
Process-shared registry of in-memory transaction logs, keyed by database name. It plays the role the log directory plays for VersionedLog: opening the same name (under any lease version) reaches the same records, so a mem-backed transactor recovers state across open/create calls within one process. Cloning a registry shares its storage.
MemVersionedLog
An in-memory transaction log with the same per-lease-version merge semantics as VersionedLog, obtained from a MemLogRegistry. Used by the mem-backed transactor: fully ephemeral, confined to one process.
MemoryLog
In-memory log implementation.
TxRecord
One committed transaction record.
VersionedLog
A transaction log split into per-lease-version files for HA append isolation (see docs/design/log-and-transactor.md).

Enums§

LogError
Log errors.

Traits§

TransactionLog
Common transaction log interface.