Expand description
Chandy-Lamport barrier checkpointing for DAG pipelines.
Note: This module is used by the DAG execution model only. The TPC
pipeline path uses CheckpointCoordinator and
barrier injection via CheckpointBarrierInjector.
Both models share the same barrier types from crate::checkpoint::barrier.
This module implements barrier-based checkpointing:
CheckpointBarrier— marker injected at source nodesBarrierAligner— buffers events at fan-in (MPSC) nodes until all upstream inputs have delivered their barrierDagCheckpointCoordinator— Ring 1 orchestrator that triggers checkpoints, tracks progress, and produces snapshotsDagCheckpointConfig— tuning knobs (interval, timeout, retention)
Barriers do NOT flow through event queues — they are handled by a separate
orchestration path, keeping the hot-path Event
type unchanged.
Structs§
- Barrier
Aligner - Buffers events at fan-in (MPSC) nodes until all upstream inputs have delivered their checkpoint barrier.
- Checkpoint
Barrier - A checkpoint barrier injected at source nodes and propagated through the DAG.
- DagCheckpoint
Config - Configuration for DAG checkpointing.
- DagCheckpoint
Coordinator - Ring 1 checkpoint coordinator.
Enums§
- Alignment
Result - Result of presenting a barrier to the aligner.
- Barrier
Type - Barrier type for checkpoint coordination.
Type Aliases§
- Checkpoint
Id - Checkpoint identifier.