[SERVER-62255] Create base ClusterServerParameter class Created: 23/Dec/21  Updated: 29/Oct/23  Resolved: 09/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

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

Issue Links:
Related
related to SERVER-62954 fix macos dyld limit Closed
Backwards Compatibility: Fully Compatible
Sprint: Security 2022-01-10, Security 2022-01-24
Participants:
Linked BF Score: 69

 Description   

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


 Comments   
Comment by Githook User [ 09/Feb/22 ]

Author:

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

Message: Revert "SERVER-62255 Inherit AuditConfigDocument from ClusterServerParameter"

This reverts commit f071aea4728988fad51ff571b4ed8814ff90509f.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/33569963ef5257f32f89d4e7909579ff04c27dbe

Comment by Githook User [ 10/Jan/22 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-62255 Create base ClusterServerParameter class
Branch: master
https://github.com/mongodb/mongo/commit/28db460776d88ff8a17d132acc4b87ea44af6430

Comment by Githook User [ 10/Jan/22 ]

Author:

{'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}

Message: SERVER-62255 Inherit AuditConfigDocument from ClusterServerParameter
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/f071aea4728988fad51ff571b4ed8814ff90509f

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