INITIALIZE and RUNNING.
Initialization
When the system is started in theINITIALIZE state, the ingest node performs the following actions:
- Connect to the logical replication slot and begin capturing the stream of mutations.
- Capture the set of tables to synchronize and copy them to the replica storage.
- Play forward any in-flight changes since the table snapshots were captured to ensure we have a consistent snapshot of the entire system.
- Move into the RUNNING state.
Running
When the system is started in theRUNNING state, the ingest node performs the following actions:
- Connect to the logical replication slot and begin capturing the stream of mutations.
- Perform any recovery required to bring the system to a consistent snapshot.
- Play forward any changes recorded into the local log since recovery began.
- Move into a steady-state operation of processing messages.