Expand description
Storage implementations for the Raft log and state machine.
Two backends are provided:
-
MemStore(featuremem-store, default): BTreeMap-based in-memory storage. Suitable for testing and development. Data is lost on restart. -
RedbStore(featureredb-store): Crash-safe persistent storage backed by theredbembedded database. Suitable for production deployments.
Modulesยง
- mem_
store - In-memory storage implementation using the openraft v2 storage API.