[SERVER-78854] CurOp::completeAndLogOperation waits on a ticket to acquire the GlobalLock Created: 11/Jul/23 Updated: 29/Oct/23 Resolved: 17/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Haley Connelly |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v7.0, v6.0, v5.0, v4.4
|
||||||||
| Sprint: | Execution EMEA Team 2023-07-24 | ||||||||
| Participants: | |||||||||
| Description |
|
CurOp::completeAndLogOperation() reacquires the GlobalLock, but operations must first wait for a ticket. This is problematic for visibility in an overloaded system. If there are no available tickets, slow operations won't be logged until the GlobalLock can be reacquired (a ticket is granted). The priority should be set to kImmediate to bypass ticket acquisition. |
| Comments |
| Comment by Githook User [ 03/Oct/23 ] |
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: (cherry picked from commit c76b8a0ff6de4e0dd02bfab29ebff1e0c85b3bd4) |
| Comment by Githook User [ 17/Jul/23 ] |
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: |