[SERVER-62266] Delete all cluster server parameter documents on FCV downgrade Created: 24/Dec/21  Updated: 29/Oct/23  Resolved: 22/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc2, 6.1.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:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Sprint: Security 2022-03-21, Security 2022-04-18, Security 2022-05-02
Participants:

 Description   

The API exposed in this project (setClusterParameter, getClusterParameter, _configSetClusterParameter) will be gated behind FCV 6.0. Therefore, all future cluster parameters will be gated behind FCV >= 6.0. When downgrading below 6.0 by running setFeatureCompatibilityVersion, a hook should drop the config.clusterParameters collection on the config server and all shards.

  1. Add a hook to the implementation of the setFeatureCompatibilityVersion command that deletes all cluster parameter documents from config.clusterParameters on the config and shard servers.


 Comments   
Comment by Githook User [ 22/Apr/22 ]

Author:

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

Message: SERVER-62266: Serialize setClusterParameter and drop cluster parameter collection during FCV 6.0 downgrade

(cherry picked from commit ad30aeecc3c3afce0c02666cbb06778c0c65f25d)
Branch: v6.0
https://github.com/mongodb/mongo/commit/d1d2bb4551bb991a2b888cb86249f7702d1ded6d

Comment by Githook User [ 22/Apr/22 ]

Author:

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

Message: SERVER-62266: Serialize setClusterParameter and drop cluster parameter collection during FCV 6.0 downgrade
Branch: master
https://github.com/mongodb/mongo/commit/ad30aeecc3c3afce0c02666cbb06778c0c65f25d

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