Expand description
Main DAG database — coordinates ObjectStore, IdIndex, SortedIndexes, GraphStore.
Structs§
- Db
- Scan
Status - Replication readiness snapshot.
scan_completeis the correctness gate: until the cold-scan finishes rebuilding the seq index, an old cursor passed tosince()can return a PARTIAL page and look (wrongly) like “caught up”. A correctness-critical consumer MUST wait forscan_complete == truebefore trusting historical catch-up.indexed_seq_min/maxreport the currently resolvable seq range;tip_seqis the log head. - Since
Batch - One page of the changefeed returned by
since(). The replication contract: applynodesin ascending seq order, advance your cursor toto_seq, and keep paging whilehas_moreis true; then attach to the livesubscribeedge.head_seqtells the consumer how far the log currently extends (how far behind it is).
Constants§
- DEFAULT_
SINCE_ LIMIT - Default cap for
since()when the caller passeslimit == 0. Bounds the engine primitive itself so a stale/offline consumer can never force an unbounded materialization — the safety lives in the core, not the HTTP layer.