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

[cleanup] Make TenantMigrationDonorService's checkIfOptionsConflict take in TenantMigrationDonorDocument instead of BSONObj

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Fully Compatible
    • Sharding 2021-02-08

      TenantMigrationDonorService::Instance::checkIfOptionsConflict currently takes in BSONObj and reparses the BSONObj into TenantMigrationDonorDocument. We should just pass the TenantMigrationDonorDocument
      constructed here similar to what the recipient side does.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: