Expand description
Checkpoint store abstraction for Stage 4 of improve().
Provides a generic key/timestamp storage interface used by
sync_graph_to_session to track the high-water mark of edges that have
already been merged into a session’s graph context.
Structs§
- SeaOrm
Checkpoint Store - SeaORM-backed implementation of
CheckpointStorethat writes to thegraph_sync_checkpointstable.
Traits§
- Checkpoint
Store - Abstraction over persistent timestamp checkpoints keyed by string.
Functions§
- load_
checkpoint - Load the checkpoint timestamp for a key from the
graph_sync_checkpointstable, orNoneif the key does not exist. - save_
checkpoint - Persist
tsunderkeyin thegraph_sync_checkpointstable. Inserts a new row or updates the existing one (upsert on the primary key).