Expand description
Checkpoint persistence trait and filesystem/object store implementations
Checkpoint persistence via the CheckpointStore trait.
Provides a filesystem-backed implementation (FileSystemCheckpointStore)
that writes manifests as atomic JSON files with a latest.txt pointer
for crash-safe recovery.
§Disk Layout
{base_dir}/checkpoints/
checkpoint_000001/
manifest.json # CheckpointManifest as pretty-printed JSON
state.bin # Optional: large operator state sidecar
checkpoint_000002/
manifest.json
latest.txt # "checkpoint_000002" — pointer to latest good checkpointStructs§
- Checkpoint
Artifacts - Manifest and optional operator-state sidecar loaded for one exact checkpoint.
- File
System Checkpoint Store - Filesystem-backed checkpoint store.
- Object
Store Checkpoint Store - Object-store-backed checkpoint store.
- Recovery
Report - Report from a crash-safe recovery walk.
- Validation
Result - Result of validating a single checkpoint.
Enums§
- Checkpoint
Store Error - Errors from checkpoint store operations.
- Validation
Issue - Classification of a single validation finding.
Constants§
- DEFAULT_
MAX_ CHECKPOINT_ STATE_ BYTES - Default upper bound for both one checkpoint’s aggregate raw logical operator state and its external sidecar.
- MAX_
CHECKPOINT_ INVENTORY_ ENTRIES - Maximum number of checkpoint entries one bounded inventory operation may materialize.
Traits§
- Checkpoint
Store - Trait for checkpoint persistence backends.
Functions§
- validate_
max_ checkpoint_ state_ bytes - Validate a configured per-checkpoint operator-state byte budget.