|
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.
|