Skip to main content

Module op_log

Module op_log 

Source
Expand description

Append-only operation log abstraction for array CRDT sync.

OpLog is a storage-agnostic trait. Concrete implementations live in nodedb-lite (redb-backed) and nodedb (WAL-backed); InMemoryOpLog is a BTreeMap-backed implementation suitable for tests in any crate that depends on nodedb-array.

Structs§

InMemoryOpLog
BTreeMap-backed OpLog implementation.

Traits§

OpLog
Storage-agnostic interface for an append-only array operation log.

Type Aliases§

OpIter
Boxed fallible iterator over array ops, returned by OpLog scans.