[SERVER-63630] Manage in-memory storage for non-specialized cluster parameters Created: 14/Feb/22  Updated: 29/Oct/23  Resolved: 11/Mar/22

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

Type: Task Priority: Major - P3
Reporter: Varun Ravichandran Assignee: Varun Ravichandran
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Security 2022-02-21, Security 2022-03-07, Security 2022-03-21
Participants:

 Description   

Non-specialized server parameters are currently implemented via the ServerParameterWithIDLStorage class. This class uses the cpp_vartype IDL field to determine what type the backing storage should be. However, it is only capable of coercing the BSONElement into a primitive type (i.e., booleans, numeric types, strings). 

After SERVER-62255 introduced a base class for cluster parameters to inline, a new ClusterServerParameterWithIDLStorage class should be implemented that ensures that IDL-defined cluster server parameters can be attached to IDL-defined in-memory storage via the ClusterServerParameter type.



 Comments   
Comment by Githook User [ 11/Mar/22 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-63630: Extend IDLServerParameterWithStorage to support cluster server parameters
Branch: master
https://github.com/mongodb/mongo/commit/aebf1ab7fa5df7c91cbb8b07754ea1d1a67703bb

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