[SERVER-69167] Check if FCV is initialized before performing feature flag check in setClusterParameter and getClusterParameter Created: 25/Aug/22  Updated: 29/Oct/23  Resolved: 13/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.0, 6.0.1
Fix Version/s: 6.0.2

Type: Bug 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:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2022-09-05, Security 2022-09-19
Participants:

 Description   

Currently, both getClusterParameter and setClusterParameter on 6.0 assert that featureFlagClusterWideConfig are enabled before running. featureFlagClusterWideConfig is enabled by default if FCV >= 6.0. In addition to checking that the feature flag is enabled, the commands should first check that FCV has been initialized so that the feature flag check is possible and makes sense.



 Comments   
Comment by Githook User [ 13/Sep/22 ]

Author:

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

Message: SERVER-69167: Verify that FCV has been initialized before cluster parameter feature flag checks
Branch: v6.0
https://github.com/mongodb/mongo/commit/c9d1d2ffdb057d4456c33720c69ddd7fab0f9818

Generated at Thu Feb 08 06:12:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.