|
otherwise, the donor backup cursor opened on the recipient side may fetch and apply entries that contain index build operations before startMigrationDonorTimestamp
Options:
- Approach 1: After the donor persists the doc with startMigrationDonorTimestamp and majority waits (basically before sending the recipientSyncData cmd), donor can trigger a stable checkpoint. This way, we can make sure when R opens a backup cursor on D, the backup cursor checkpoint timestamp is >= startMigrationDonorTimestamp.
- Approach 2: The Recipient can retry opening the backup cursor on D until the backup cursor checkpoint ts is >= startMigrationDonorTimestamp
|