[SERVER-74864] Remove operation context from TicketHolder::resize Created: 14/Mar/23 Updated: 29/Oct/23 Resolved: 15/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Gregory Noma | Assignee: | Gregory Noma |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution Team 2023-03-20 |
| Participants: |
| Description |
|
TicketHolder::resize currently takes an OperationContext* because internally PriorityTicketHolder::_resize uses PriorityTicketHolder:: _waitForTicketUntilImpl, but for this function call we can instead just use a nullptr since we are calling it with WaitMode::kUninterruptible. |
| Comments |
| Comment by Githook User [ 15/Mar/23 ] |
|
Author: {'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}Message: |