[SERVER-53423] Make ConnectString::connect return a status instead of setting error message Created: 17/Dec/20  Updated: 29/Oct/23  Resolved: 11/Jan/21

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

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

Issue Links:
Problem/Incident
Related
related to SERVER-52707 [auth] Make tenant migration recipien... Closed
related to SERVER-53627 Make DBClientConnection::connectSocke... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-01-11, Sharding 2021-01-25
Participants:
Linked BF Score: 28

 Description   

TenantMigrationRecipientService currently cannot distinguish between SSL errors and retriable connection errors when failing to connect to the donor since ConnectString::connect doesn't return a status.



 Comments   
Comment by Githook User [ 07/Jan/21 ]

Author:

{'name': 'Andrew Shuvalov', 'email': 'andrew.shuvalov@mongodb.com', 'username': 'shuvalov-mdb'}

Message: SERVER-53423: Make ConnectString::connect return a status instead of setting error message
Branch: master
https://github.com/mongodb/mongo/commit/9a7261e0e0fb5eacc5d3354c244e43bd27545819

Comment by Ian Whalen (Inactive) [ 07/Jan/21 ]

Author:

{'username': u'evrg-bot-webhook', 'name': u'Andrew Shuvalov', 'email': u'andrew.shuvalov@mongodb.com'}

Message:SERVER-53423: Make ConnectString::connect return a status instead of setting error message
Branch:master
https://github.com/mongodb/mongo/commit/ad1169d34cbd457a4d0637230e615bdf1d177531

Comment by Githook User [ 07/Jan/21 ]

Author:

{'name': 'Pavi Vetriselvan', 'email': 'pavithra.vetriselvan@mongodb.com', 'username': 'pvselvan'}

Message: Revert "SERVER-53423: Make ConnectString::connect return a status instead of setting error message"

This reverts commit ad1169d34cbd457a4d0637230e615bdf1d177531.
Branch: master
https://github.com/mongodb/mongo/commit/6596c551f656381bf357e6be90914ff60f574971

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