[SERVER-53627] Make DBClientConnection::connectSocketOnly propagate InvalidSSLConfiguration Created: 07/Jan/21  Updated: 29/Oct/23  Resolved: 07/Jan/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: pm-1791_milestone-P
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-53423 Make ConnectString::connect return a ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-01-11
Participants:
Linked BF Score: 28

 Description   

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. 


Generated at Thu Feb 08 05:31:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.