Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
3.4.17
-
Fully Compatible
-
ALL
-
Sharding 2018-10-22
-
1
Description
The Notification::waitFor call is not interruptible in the 3.4 branch and this could potentially cause deadlock at config server stepdown followed immediately by step-up, due to its usage in the sharding Balancer code. While the chance for such a deadlock is extremely rare, making Notification::waitFor interruptible should be very safe to include in 3.4.
We can just pick-up the changes to notification.h from this change.
Attachments
Issue Links
- backports
-
SERVER-25062 Implement interruptible sleep and condition variable waitFor methods on OperationContext
-
- Closed
-