[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: SERVER-74864 Remove `OperationContext*` from `TicketHolder::resize`
Branch: master
https://github.com/mongodb/mongo/commit/83fcf6fb919f7ce58e142e5c5bdfb04251a1db82

Generated at Thu Feb 08 06:28:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.