[SERVER-35550] Bridge should not block listener while making outbound connections Created: 12/Jun/18  Updated: 29/Oct/23  Resolved: 19/Jun/18

Status: Closed
Project: Core Server
Component/s: Networking, Testing Infrastructure
Affects Version/s: 4.0.0-rc0
Fix Version/s: 4.0.1, 4.1.1

Type: Bug Priority: Major - P3
Reporter: Jonathan Reams Assignee: Jonathan Reams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-30992 mongobridge to use a transport layer Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Platforms 2018-06-18
Participants:
Linked BF Score: 71

 Description   

mongobridge may block new incoming connections for up to 30 seconds while it is connecting out to its proxied mongod. We should do that blocking connect in the client thread instead.



 Comments   
Comment by Githook User [ 02/Jul/18 ]

Author:

{'username': 'jbreams', 'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com'}

Message: SERVER-35550 Fix uassert code

(cherry picked from commit e7a4ca676c2f214f09c2bd64e76a16f2b851b1d1)
Branch: v4.0
https://github.com/mongodb/mongo/commit/f2e71c5db557c7e1ad145edba846d56c3998f4ab

Comment by Githook User [ 02/Jul/18 ]

Author:

{'username': 'jbreams', 'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com'}

Message: SERVER-35550 Connect back to server from bridge in client thread

(cherry picked from commit c11dd5e6ff3f70200d1cfd6a5e3dc6966beac3b2)
Branch: v4.0
https://github.com/mongodb/mongo/commit/bdf0d296a51267b869b6d94fbee412b7e0633b35

Comment by Githook User [ 19/Jun/18 ]

Author:

{'username': 'jbreams', 'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com'}

Message: SERVER-35550 Fix uassert code
Branch: master
https://github.com/mongodb/mongo/commit/e7a4ca676c2f214f09c2bd64e76a16f2b851b1d1

Comment by Githook User [ 19/Jun/18 ]

Author:

{'username': 'jbreams', 'name': 'Jonathan Reams', 'email': 'jbreams@mongodb.com'}

Message: SERVER-35550 Connect back to server from bridge in client thread
Branch: master
https://github.com/mongodb/mongo/commit/c11dd5e6ff3f70200d1cfd6a5e3dc6966beac3b2

Generated at Thu Feb 08 04:40:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.