[SERVER-63697] Remove "copied files" state and step, remove TenantMigrationRecipientCoordinator Created: 15/Feb/22  Updated: 29/Oct/23  Resolved: 05/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: A. Jesse Jiryu Davis Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: shard-merge-milestone-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-61144 Finish importing donated collections ... Closed
is depended on by SERVER-64192 Handle recipientVoteImportedFiles errors Closed
Problem/Incident
causes SERVER-64247 Failure in multiversion test from ren... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-02-21, Server Serverless 2022-03-07
Participants:

 Description   

Followup to SERVER-61134. We realized the R primary doesn't need to know that R secondaries have finished copying files, it only needs to know they've done the subsequent step: importing files. (It can wait until then to kill its backup cursor, since D shouldn't be participating in backups or other migrations while it's donating to R.)

  • Remove "copied files" state
  • Remove "copied files" voting step (thus, there will be no steps)
  • Change command name from voteCommitMigrationProgress to voteImportedFiles or something like that
  • Merge the TenantMigrationRecipientCoordinator into the TenantMigrationRecipientService

Depends on SERVER-61144, which will call _advanceStableTimestampToStartApplyingDonorOpTime() earlier in the migration, which makes it safe for the primary to not wait for secondaries to copy files.



 Comments   
Comment by Githook User [ 05/Mar/22 ]

Author:

{'name': 'A. Jesse Jiryu Davis', 'email': 'jesse@mongodb.com', 'username': 'ajdavis'}

Message: SERVER-63697 Simplify shard merge recipient coordination
Branch: master
https://github.com/mongodb/mongo/commit/365c2667c56b7cddb7ef0c69e9440794e3d84c09

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