[SERVER-60621] Investigate if we can ban upgrading the global lock Created: 12/Oct/21 Updated: 29/Oct/23 Resolved: 03/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dan Larkin-York | Assignee: | Fausto Leyva (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | Execution Team 2023-02-20, Execution Team 2023-02-06 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Linked BF Score: | 169 | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Upgrading the global lock mode without first releasing the lock held can have bad side effects (namely deadlock and resource exhaustion). We've removed some cases where this can happen (most recently in |
| Comments |
| Comment by Fausto Leyva (Inactive) [ 03/Feb/23 ] | ||||||
|
Since all global lock upgrades are banned, the objective of this ticket has been met. Closing this ticket and moving the rest of the work to ban all lock upgrades to ticket: | ||||||
| Comment by Louis Williams [ 16/Dec/22 ] | ||||||
|
After max.hirschhorn@mongodb.com pointed it out, we discovered that a specific deadlock is possible due to lock conversions:
Since | ||||||
| Comment by Louis Williams [ 24/May/22 ] | ||||||
|
I would like to consider banning all lock upgrades, not just global lock upgrades. We can start just with locks in the global hierarchy. | ||||||
| Comment by Githook User [ 01/Dec/21 ] | ||||||
|
Author: {'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}Message: |