Make donorStartMigration and recipientSyncData validate input connection string

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2020-12-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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. 

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: