-
Type:
Bug
-
Status: Closed
-
Priority:
Minor - P4
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 3.3.2
-
Component/s: Networking
-
Labels:None
-
Backwards Compatibility:Fully Compatible
-
Operating System:ALL
-
Sprint:Sharding 10 (02/19/16)
-
Linked BF Score:0
The MongoDB listener code first accepts an incoming connection, then configures the socket options and only then logs that the connection was accepted.
Configuring the socket options involves calls to setsockopt/getsockopt, which theoretically may block and this is the suspected cause of a JS test failure.
In order to help diagnose test failures better, log that a connection was accepted before making any blocking calls.