Details
-
Bug
-
Resolution: Done
-
Major - P3
-
1.6.2
-
None
-
ALL
Description
While using the C++ driver, my application would randomly fail to connect under load. I tracked the problem down to a race condition in BackgroundJob. I have attached a patch which fixes the race condition. The problem was the inefficient sleepmillis() loops, which would cause the connection timeout to be reached even though the connection was successful.