Skip to main content

Module mvcc

Module mvcc 

Source
Expand description

MVCC-lite snapshot system for SQLiteGraph

Provides deterministic, read-only snapshots using the S3 Hybrid approach:

  • SnapshotState stores immutable cloned HashMaps (not Arc-shared)
  • ArcSwap provides lock-free atomic updates
  • Read-only SQLite connections ensure database consistency
  • Deterministic behavior with repeatable results

Structs§

GraphSnapshot
MVCC-lite read-only snapshot for graph data isolation.
SnapshotManager
MVCC snapshot manager using ArcSwap for atomic updates
SnapshotState
Immutable snapshot state containing cloned adjacency data

Type Aliases§

NodeId