Expand description
Replication engine coordinator.
The main orchestrator that ties together:
- Peer connections via
crate::peer::PeerConnection - Stream tailing (hot path) via
crate::stream::StreamTailer - Cursor persistence via
crate::cursor::CursorStore - Merkle repair (cold path) for consistency
§Architecture
The coordinator manages the full replication lifecycle:
- Connects to configured peers
- Tails CDC streams for real-time updates (hot path)
- Periodically runs Merkle tree repair (cold path)
- Handles graceful shutdown with in-flight batch draining
Structs§
- Health
Check - Comprehensive health status of the replication engine.
- Peer
Health - Health status of a single peer.
- Replication
Engine - The main replication engine.
Enums§
- Engine
State - State of the replication engine.