Expand description
Distributed recovery manager. Distributed recovery manager.
Complements the single-node RecoveryManager in laminar-db with
distributed checkpoint discovery, incremental delta application,
source seeking, and integrity verification.
§Recovery sequence
- Discover: Try
read_latest(), fall back tolist_checkpoints()(C9: dual-source discovery catches partial Raft commit failures) - Load manifest:
load_manifest(id) - Validate: Check operator names match the current deployment
- Restore state: For each operator partition — full snapshot or incremental delta (C1: incremental support)
- Seek sources: Reset source offsets to checkpoint positions
- Return
RecoveryResult
Structs§
- Recovery
Config - Configuration for the distributed recovery manager.
- Recovery
Manager - Distributed recovery manager.
- Recovery
Result - Successful recovery result.
Enums§
- Recovery
Error - Errors from the recovery process.
Traits§
- Restorable
- Trait for operator state that can be restored from a checkpoint.
- Seekable
- Trait for source connectors that can seek to a checkpoint offset.
- Typed
Seekable - Trait for source connectors that can seek using a typed
SourcePosition.