[SERVER-64467] Remove global service context for ticketholders from WiredTigerKVEngine Created: 14/Mar/22  Updated: 29/Oct/23  Resolved: 20/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc5, 6.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Jordi Olivares Provencio
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-63825 Report metrics for read/write queues Closed
Related
is related to SERVER-64170 Refactor TicketHolders to not use glo... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Execution Team 2022-04-04, Execution Team 2022-04-18, Execution Team 2022-05-02
Participants:
Linked BF Score: 167

 Description   

The WT KV Engine is currently relying on a global context for setting the ticketholders. We should instead attempt to rely on using a non-global ServiceContext.

This is due to the Locker implementation requiring a service context being available during a ticket release. As that is not present at the moment of calling we're now relying on a global service context



 Comments   
Comment by Githook User [ 09/May/22 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-64467 Refactor TicketHolders to not use global context

(cherry picked from commit e399b6676c5fc11df61e9b8ca4c27a2f7fc1e584)
Branch: v6.0
https://github.com/mongodb/mongo/commit/7774cd9bc44d9e1ba19007f887c3b9445eed1a26

Comment by Githook User [ 20/Apr/22 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-64467 Refactor TicketHolders to not use global context
Branch: master
https://github.com/mongodb/mongo/commit/e399b6676c5fc11df61e9b8ca4c27a2f7fc1e584

Comment by Jordi Olivares Provencio [ 04/Apr/22 ]

The ticket depends on SERVER-63825 as that will provide an OperationContext everywhere that's needed for the ticketholders

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