[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: |
|
||||||||
| 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: |