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

Create base ClusterServerParameter class

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2022-01-10, Security 2022-01-24
    • 69
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      All cluster server parameters will be persisted to disk in the config.settings collection in every replica set in a cluster. These documents will all contain _id and generation fields, while the rest of the fields will be specific to the parameter. The ClusterServerParameter class will serve as a base class to enforce that all documents parsed from disk correctly have the _id and generation fields. All other parameter document classes will extend it via inline struct chaining. In order to validate this approach, the AuditConfigDocument for RAC will also be updated to extend this class when being read/written from disk.

      1. Define ClusterServerParameter class in IDL
      2. Refactor AuditConfigDocument such that it extends ClusterServerParameter via inline chained structs

            Assignee:
            sara.golemon@mongodb.com Sara Golemon (Inactive)
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None