[SERVER-45266] Move all StorageGlobalParams to be part of the ServiceContext class Created: 20/Dec/19  Updated: 06/Dec/22

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

Type: Improvement Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-52516 Make LockManager a ServiceContext dec... Closed
Assigned Teams:
Storage Execution
Participants:

 Description   

The readOnly flag doesn't really belong on the StorageGlobalParams struct anymore as its use is widespread over the entire codebase. We should move this to the ServiceContext class and provide a setter/getter for it.



 Comments   
Comment by Gregory Wlodarek [ 22/Jun/20 ]

This may be more complicated than anticipated as we do not have a ServiceContext yet available when the startup parameters are parsed and stored.

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