[SERVER-62882] Tenant Migration Recipient Service shouldn't call makeOperationContext() under its own instance mutex Created: 21/Jan/22 Updated: 29/Oct/23 Resolved: 24/Jan/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.3.0, 5.2.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christopher Caplinger | Assignee: | Christopher Caplinger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | shard-merge-milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v5.2
|
||||||||||||
| Sprint: | Server Serverless 2022-01-24, Server Serverless 2022-02-07 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 19 | ||||||||||||
| Description |
|
makeOperationContext() takes the POS mutex, which can cause a deadlock with checkIfConflictsWithOtherInstances calls (the POS mutex is held during calls to checkIfConflictsWithOtherInstances). |
| Comments |
| Comment by Githook User [ 08/Mar/22 ] |
|
Author: {'name': 'Christopher Caplinger', 'email': 'christopher.caplinger@mongodb.com', 'username': 'UnicodeSnowman'}Message: (cherry picked from commit a94feb562cd9ffb42c10770fbf5b5d489875cc2f) |
| Comment by Christopher Caplinger [ 25/Feb/22 ] |
|
nevermind, I misread, I should still backport this. |
| Comment by Githook User [ 24/Jan/22 ] |
|
Author: {'name': 'Christopher Caplinger', 'email': 'christopher.caplinger@mongodb.com', 'username': 'UnicodeSnowman'}Message: |