[SERVER-48531] 3 way deadlock can happen between chunk splitter, prepared transactions and stepdown thread. Created: 01/Jun/20 Updated: 29/Oct/23 Resolved: 30/Jun/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: | Suganthi Mani | Assignee: | Kshitij Gupta |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | bkp, sharding-interns-2020, sharding-wfbf-day | ||
| 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, v4.2
|
||||||||
| Sprint: | Sharding 2020-06-15, Sharding 2020-06-29 | ||||||||
| Participants: | |||||||||
| Case: | (copied to CRM) | ||||||||
| Description |
|
Currently step down kills all conflicting user operations and some internal operations that are marked killable using setSystemOperationKillable.
Step down hangs due to below three way deadlock
|
| Comments |
| Comment by Githook User [ 05/Aug/20 ] |
|
Author: {'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}Message: (cherry picked from commit 1e23a0f7659d67df27ae8d553f99f35e52a91c0c) |
| Comment by Githook User [ 30/Jun/20 ] |
|
Author: {'name': 'Kshitij Gupta', 'email': 'kshitij.gupta@mongodb.com', 'username': 'kshitijng'}Message: |
| Comment by Suganthi Mani [ 01/Jun/20 ] |
|
2 solution currently exists to fix this problem Note: Fix has to be backported till 4.2. |