[SERVER-27940] Deadlock ReplicaSetMonitorManager on shutdown Created: 07/Feb/17 Updated: 05/Apr/17 Resolved: 08/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.3, 3.5.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Misha Tyulenev | Assignee: | Misha Tyulenev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v3.4
|
||||||||
| Sprint: | Sharding 2017-02-13 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
ReplicaSetMonitorManager calls
while holding a mutex which is not a good idea as another thread can run the task on the _taskExecutor that will need to lock the same mutex that is held in the shutdown. |
| Comments |
| Comment by Githook User [ 14/Feb/17 ] |
|
Author: {u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}Message: (cherry picked from commit b65f66e20f7ba380b2202947b68db89d42c45931) |
| Comment by Githook User [ 08/Feb/17 ] |
|
Author: {u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}Message: |