Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-63697

Remove "copied files" state and step, remove TenantMigrationRecipientCoordinator

    • Fully Compatible
    • Server Serverless 2022-02-21, Server Serverless 2022-03-07

      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.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: