Skip to main content

Module lsm

Module lsm 

Source
Expand description

Selected physical LSM components. WAL semantics perform no storage I/O; replay alone does not validate the physical tables selected by a manifest.

Structs§

FileLsmJournalStore
Owns .lsm-writer before bounded discovery and all child leases. Complete read-only physical/semantic validation precedes constructor repair effects. Close attempts all children before removing the outer fence. An uncertain raw close is cached rather than retried. Never steals crashed ownership. Windows supports file-content sync but advertises no durable namespace.
FileLsmOptions
Fixed mirror modes and finite resource bounds, checked before filesystem I/O.
LsmOptions
LsmStoreOptions
LsmTableDescriptor
LsmWalState
Owned, transient replay result. A physical store must additionally validate every selected table and combined logical capacity before exposing data.
PhysicalLsmJournalStore
Bounded physical LSM with synchronous full compaction. Disk payloads are read from actual pages; only metadata is indexed. Owns its WAL and namespace by value, returned by into_parts without closing them. Table leases are closed explicitly; use close to observe failures (Drop is best effort only). Retain shared provider handles if constructor-failure cleanup must be retried.

Traits§

LsmTableNamespace
Exclusive synchronous namespace. List returns every ordered numeric identity or fails within its bound. Create never reuses a name; open never creates missing files. Successful create/delete persist directory entries. Close aborts staged repair and permits retry after an uncertain result.