[SERVER-76856] Require min_fcv or feature_flag for all cluster server parameters Created: 04/May/23  Updated: 11/Jan/24  Resolved: 11/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

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

Assigned Teams:
Server Security
Backwards Compatibility: Fully Compatible
Sprint: Security 2023-12-25, Security 2024-01-08, Security 2024-01-22
Participants:

 Description   

Today, cluster server parameters can be disabled on FCV downgrade via the min_fcv or feature_flag IDL tags. However, the IDL generator does not mandate that one of these tags be present for every cluster server parameter.

If a cluster parameter is created without either of these tags, then it will remain enabled even after FCV downgrade. This can create problems when the actual binaries are downgraded since the downgraded binary will exhibit different behavior than the FCV-downgraded server.

Mandating one of these tags will ensure that cluster parameters will always be disabled during FCV downgrade if they do not exist in the binary corresponding to that FCV.



 Comments   
Comment by Githook User [ 11/Jan/24 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-76856 Ensure cluster parameters behave the same between FCV version and matching binary version (#17575)

GitOrigin-RevId: a403c44ba837a172ce8053ee5adc150d5fd2fd1a
Branch: master
https://github.com/mongodb/mongo/commit/5d61682b27867468ec34f44b86efcda0dc3abb39

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