[SERVER-48689] MigrationDestinationManager waits for thread to join with session checked out Created: 10/Jun/20 Updated: 29/Oct/23 Resolved: 16/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.1, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tess Avitabile (Inactive) | Assignee: | Jack Mulrow |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | KP44 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||||||||||||||
| Sprint: | Sharding 2020-07-13, Sharding 2020-07-27 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||
| Linked BF Score: | 33 | ||||||||||||||||||||||||
| Description |
|
The MigrationDestinationManager waits for a thread to join here while holding a session checked out. This thread can do blocking work, such as checking out a different session. This can lead to a deadlock with a thread that is checking out all of the sessions for kill: (1) MigrationDestinationManager checks out session A. |
| Comments |
| Comment by Githook User [ 12/Aug/20 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: (cherry picked from commit 21b083c7352704fc8c3d8a4f33c54040259ff766) |
| Comment by Tess Avitabile (Inactive) [ 27/Jul/20 ] |
|
Does this affect 4.2? We need to backport |
| Comment by Githook User [ 16/Jul/20 ] |
|
Author: {'name': 'Jack Mulrow', 'email': 'jack.mulrow@mongodb.com', 'username': 'jsmulrow'}Message: |