I'm trying to initiate replication.
My situation is same as below.
- Start replication.
- Add the destination cluster as a peer and immediately disable it using disable_peer.
- On the source cluster, take a snapshot of the table and export it. The snapshot command flushes the table from memory for you.
- On the destination cluster, import and restore the snapshot.
- Run enable_peer to re-enable the destination cluster.
Source cluster has 40TB of table and to export snapshot to target cluster it will take 15 hours.
Is the changes (wal or replication queue) for this 15 hours will not be deleted?