[SERVER-42901] Use LockerImpl for the startup code path instead of LockerNoop Created: 19/Aug/19  Updated: 27/Oct/23  Resolved: 05/Jul/23

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

Type: Improvement Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Gone away Votes: 1
Labels: groomed
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-26879 Get rid of LockerNoop Closed
Duplicate
is duplicated by SERVER-35970 Use regular Locker during storage eng... Closed
Related
related to SERVER-60229 lock manager for mongos Closed
is related to SERVER-47204 Get rid of OperationContextNoop Closed
Assigned Teams:
Storage Execution
Participants:

 Description   

SERVER-26879 proposes getting rid of LockerNoop and de-virtualizing the Locker class.
SERVER-35970 proposes a similar task to this ticket in the comments; and in the description it proposes a 3rd Locker implementation for startup.

OperationContextNoop should be looked into as well. The only place it appears to be used in production is the StorageEngineImpl constructor, otherwise just testing.

SERVER-35970 alludes to the lock manager needing to be initialized earlier during startup in order for the storage engine initialization to use LockerImpls. I have not investigated whether this would be difficult, but there is no known impediment.



 Comments   
Comment by Kaloian Manassiev [ 05/Jul/23 ]

Gone away as a result of SERVER-35970.

Comment by Dianna Hohensee (Inactive) [ 19/Aug/19 ]

I recommend trying to do this, and if anything surprising arises to consider spinning off additional tickets and re-schedule this with the new information.

Comment by Dianna Hohensee (Inactive) [ 19/Aug/19 ]

SERVER-35970 and SERVER-26879 should be closed after this ticket is complete.

SERVER-30771 and SERVER-42221 both encountered investigative and solution difficulties because of LockerNoop usage during startup.

Generated at Thu Feb 08 05:01:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.