-
Notifications
You must be signed in to change notification settings - Fork 0
Ingest Nodes
Craig Soules edited this page Dec 13, 2025
·
2 revisions
The ingest nodes are responsible for synchronizing the replica data with the primary database data. There are two different key states of operation -- INITIALIZE and RUNNING.
When the system is started in the INITIALIZE 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.
When the system is started in the RUNNING 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.