[SERVER-71066] PriorityTicketHolder::_enqueuedElements is atomic but always guarded by X lock Created: 03/Nov/22 Updated: 27/Oct/23 Resolved: 22/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Haley Connelly | Assignee: | Haley Connelly |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Sprint: | Execution Team 2022-11-28 |
| Participants: |
| Description |
|
If the member is only accessed under an exclusive lock, it doesn't need to be atomic |
| Comments |
| Comment by Haley Connelly [ 22/Nov/22 ] |
|
Closing this ticket as works as designed (1) _enqueuedElements is no longer changed underneath the lock guard. |