[SERVER-53553] Make tenant migration recipient to start cloning tenant data only after the donor node's lastCommittedOpTime is >= startMigrationDonorTimestamp Created: 04/Jan/21  Updated: 29/Oct/23  Resolved: 19/Feb/21

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Suganthi Mani Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: pm-1791_alpha, pm-1791_milestone-B
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-53552 Tenant migration donor should pass st... Closed
is depended on by SERVER-50495 [passthrough suite] Make tenant_migra... Closed
is depended on by SERVER-54449 Enable index related tests in tenant_... Closed
Related
is related to SERVER-48862 Donor should not be able to start/com... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2021-02-22
Participants:

 Description   

As part of this ticket, we need to do 2 things
1) Tenant migration recipient should persist the startMigrationDonorTimestamp by writing it to the tenant migration recipient instance's state document.
2) TenantMigrationRecipientService::Instance::_getStartOpTimesFromDonor() will send find commands with afterClusterTimestamp set as startMigrationDonorTimestamp and with readConcern:kMajority. That will make sure that the majority reads (for collection cloning and oplog fetching) by the recipient on the donor will be made only after startMigrationDonorTimestamp.



 Comments   
Comment by Githook User [ 18/Feb/21 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-53553 Make tenant migration recipient to start cloning tenant data only after the donor node's lastCommittedOpTime is >= startMigrationDonorTimestamp
Branch: master
https://github.com/mongodb/mongo/commit/23d05fa8b976208fd5564ace429d90d9f6c93509

Generated at Thu Feb 08 05:31:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.