[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: |
|
||||||||
| 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.
|
| Comments |
| Comment by Githook User [ 09/Feb/22 ] |
|
Author: {'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}Message: Revert " This reverts commit f071aea4728988fad51ff571b4ed8814ff90509f. |
| Comment by Githook User [ 10/Jan/22 ] |
|
Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}Message: |
| Comment by Githook User [ 10/Jan/22 ] |
|
Author: {'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com', 'username': 'sgolemon'}Message: |