[SERVER-62253] Extend IDL compiler to support specialized and non-specialized cluster server parameters Created: 23/Dec/21  Updated: 29/Oct/23  Resolved: 18/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

Issue Links:
Problem/Incident
causes SERVER-64849 Coverity analysis defect 121907: Pars... Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-01-10, Security 2022-01-24, Security 2022-02-07, Security 2022-02-21, Security 2022-03-07, Security 2022-03-21
Participants:

 Description   

After SERVER-62251 and SERVER-63630 are completed, ServerParameter and IDLServerParameterWithStorage will be able to store metadata specific to cluster-wide parameters, especially non-specialized ones that have bound storage. This ticket will ensure that these parameters can be defined in IDL, just like node-specific server parameters. It will also ensure and test that specialized cluster server parameters can be implemented using the IDL framework.

  1. Expand the set_at field to accept cluster.
  2. Update IDL code generator for MONGO_SERVER_PARAMETER_REGISTER blocks so that the generated constructors reflect the changes made in SERVER-63630 to separate cluster-wide server parameters from node-specific parameters upon instantiation.
  3. Add override_validate field to the IDL compiler so that the validate() method can be overridden in specialized server parameter classes.
  4. Update IDL/ServerParameter tests as necessary


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

Author:

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

Message: SERVER-62253: Generate specialized and storage cluster server parameters from IDL
Branch: master
https://github.com/mongodb/mongo/commit/556f288e52b9aedf531912722557d477ccbd297e

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