[SERVER-78744] Access Locker through locker_api.h Created: 06/Jul/23  Updated: 23/Nov/23  Resolved: 21/Nov/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: PM Bot Assignee: Silvia Surroca
Resolution: Fixed Votes: 0
Labels: autogen-todo
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-77213 Move the all transactions-related sta... Backlog
Related
is related to SERVER-26879 Get rid of LockerNoop Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-08-07, Sharding EMEA 2023-08-21, Sharding EMEA 2023-09-04, Sharding EMEA 2023-09-18, Sharding EMEA 2023-10-02, Sharding EMEA 2023-10-16, Sharding EMEA 2023-10-30, CAR Team 2023-11-13, CAR Team 2023-11-27
Participants:

 Description   

Create a new locker_api.h file to access the locker through standalone methods. This will smooth the way to SERVER-77213.



 Comments   
Comment by Githook User [ 23/Nov/23 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-78744 Mark the locker related methods on OperationContext as DO NOT USE

Also gets rid of LockManager::get(OperationContext*) and makes stats/top a LIBDEPS_PRIVATE include only
Branch: master
https://github.com/mongodb/mongo/commit/605c10b986f6cbf79e345a136233564dce4368f0

Comment by Githook User [ 21/Nov/23 ]

Author:

{'name': 'Kaloian Manassiev', 'email': 'kaloian.manassiev@mongodb.com', 'username': 'kaloianm'}

Message: SERVER-78744 Move locker_api.h/.cpp to the shard_role_api library
Branch: master
https://github.com/mongodb/mongo/commit/27e0b325e672cf376799140cefea6122c22581ce

Comment by Githook User [ 18/Nov/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-78744 Access Locker through locker_api.h
Branch: master
https://github.com/mongodb/mongo/commit/3f75c7bc452cb0b63923c5521e1c7666edd406cf

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