Make DBClientConnection::connectSocketOnly propagate InvalidSSLConfiguration

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2021-01-11
    • 28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-53423 makes ConnectionString::connect return a status in order to allow TenantMigrationRecipientService::_connectAndAuth get the connection status and return InvalidSSLConfiguration error to the donor if the recipient SSL certificate for the migration is invalid or expired. However, currently DBClientConnection::connect still returns HostUnreachable when there is a transport layer error. InvalidSSLConfiguration is not a retriable error so we should propagate it back to ConnectionString::connect. 

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

                Created:
                Updated:
                Resolved: