Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-62253

Extend IDL compiler to support specialized and non-specialized cluster server parameters

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Security 2022-01-10, Security 2022-01-24, Security 2022-02-07, Security 2022-02-21, Security 2022-03-07, Security 2022-03-21

      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

            Assignee:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: