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

Make DBClientConnection::connectSocketOnly propagate InvalidSSLConfiguration

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

      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@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: