Skip to main content

Crate reifydb_store_multi

Crate reifydb_store_multi 

Source
Expand description

Multi-version storage backend for OLTP traffic, tiered as in-memory commit buffer over a pluggable persistent tier. Invariant: a row at version V is what a reader whose snapshot is >= V sees when no later version exists at V' <= snapshot, and a commit must publish all its deltas atomically to readers.

Modules§

config
flush
Background flusher that migrates writes from the buffer tier to the persistent tier. Flush is the watermark-coupled eviction sweep: on each tick (or explicit request) it persists the latest-<=W value per key of every persistent object, then drops all <=W versions from the commit tier, bounding the commit tier’s RAM.
memory
sqlite
store
tier

Structs§

MultiStoreVersion

Enums§

MultiStore
MultiVersionScope
Selects which version each key resolves to during a range walk.

Type Aliases§

MultiVersionRangeIterator