[SERVER-62883] Tenant Migration Recipient Service shouldn't delete an earlier migration's state doc while holding the 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: | None | ||
| 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
|
||||||||
| Participants: | |||||||||
| Linked BF Score: | 19 | ||||||||
| Description |
|
the onDelete op observer calls releaseInstance which takes the POS mutex and can deadlock with checkIfConflictsWithOtherInstances (POS holds its mutex during calls to checkIfConflictsWithOtherInstances) |
| Comments |
| Comment by Githook User [ 28/Feb/22 ] |
|
Author: {'name': 'Christopher Caplinger', 'email': 'christopher.caplinger@mongodb.com', 'username': 'UnicodeSnowman'}Message: |
| Comment by Christopher Caplinger [ 25/Feb/22 ] |
|
https://jira.mongodb.org/browse/BF-23714 was fixed, but did not make it into v5.2. we're currently getting dupe BF's for this issue, so backporting to avoid future failures. |
| Comment by Githook User [ 21/Jan/22 ] |
|
Author: {'name': 'Christopher Caplinger', 'email': 'christopher.caplinger@mongodb.com', 'username': 'UnicodeSnowman'}Message: |