[SERVER-77224] Rename lock_state.h/.cpp to locker_impl.h/.cpp to better match the class name Created: 17/May/23  Updated: 29/Oct/23  Resolved: 18/May/23

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

Type: Improvement Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: PM-2144-Cleanup, auto-reverted
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
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-05-29
Participants:
Linked BF Score: 35

 Description   

For legacy reasons the LockerImpl class remained in a file called lock_state.h/.cpp. It causes confusion every time one needs to search it since it doesn't match with the class name.

This ticket is to rename the files to better match their respective classes.



 Comments   
Comment by Githook User [ 18/May/23 ]

Author:

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

Message: SERVER-77224 Rename lock_state.h/.cpp to locker_impl.h/.cpp to match the class name
Branch: master
https://github.com/mongodb/mongo/commit/c0e4721ed383502ff44682f5803b8cdd4d15e767

Comment by xgen-buildbaron-user [ 18/May/23 ]

Ticket re-opened due to revert. libdeps_graph_linting began a consistent failure of libdeps_graph_linting

Comment by Githook User [ 18/May/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-77224 Rename lock_state.h/.cpp to locker_impl.h/.cpp to match the class name"

This reverts commit de55cd2ac227dcc8cae2fd021abc291e86b2abb2.
Branch: master
https://github.com/mongodb/mongo/commit/a741f91c4c09913424751730aabccd594e94ab78

Comment by Githook User [ 17/May/23 ]

Author:

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

Message: SERVER-77224 Rename lock_state.h/.cpp to locker_impl.h/.cpp to match the class name
Branch: master
https://github.com/mongodb/mongo/commit/de55cd2ac227dcc8cae2fd021abc291e86b2abb2

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