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

Make donorStartMigration and recipientSyncData validate input connection string

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2020-12-14

    Description

      Currently, the TenantMigrationDonorService could crash while trying to initialize the RemoteCommandTargeterRS if the input recipientConnectionString for the donorStartMigration command is a connection string for a standalone instead of a replica set. To avoid this, we should make validateConnectionString try to parse the input connection string as a replica set connection string to fail the command immediately if the validation fails. 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: