Expand description
LMDB-backed canonical store implementation
Provides a transactional KV store + append-only event log using LMDB.
Key features:
- Atomic commits over state + events
- Big-endian event ID encoding for proper sort order
- Stripe locking for concurrent preflight validation
- Hot copy backup support
- Single-writer semantics (enforced by mutex)
- Optional read transaction pooling for concurrent reads
Re-exports§
pub use dead_letter_queue::DeadLetterQueue;pub use preflight_cache::EvictionPolicy;pub use read_pool::LmdbReadPool;pub use read_pool::PooledLmdbReadTxn;pub use store::LmdbCanonicalStore;pub use txn::LmdbReadTxn;pub use txn::LmdbWriteTxn;
Modules§
- backup
- dead_
letter_ queue - Dead Letter Queue (DLQ) for failed event log writes.
- iter
- keys
- preflight_
cache - In-memory cache for preflight validation reads.
- read_
pool - LMDB Read Transaction Pool
- state_
iter - store
- txn