[SERVER-84276] REGISTER_X_WITH_FEATURE_FLAG functions throw an error for not fcv gated flags Created: 18/Dec/23  Updated: 19/Dec/23  Resolved: 19/Dec/23

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

Type: Bug Priority: Major - P3
Reporter: Gil Alon Assignee: Gil Alon
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-84305 Update isDisabledOnTargetFCVButEnable... Open
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: QI 2023-12-25
Participants:
Linked BF Score: 155

 Description   

When we parse expressions, aggregation stages and window functions we check if it was registered with a feature flag and then if the feature flag is enabled on the FCV. However, our old logic uses EnabledOnVersion helper function which doesn't take into account if the feature flag is FCV gated or not. We should add this logic to EnabledOnVersion.



 Comments   
Comment by Githook User [ 19/Dec/23 ]

Author:

{'name': 'Gil Alon', 'email': '47804748+galon1@users.noreply.github.com', 'username': 'galon1'}

Message: SERVER-84276 Account for uninitialized FCV and not gated feature flags during query parsing validation (#17664)

GitOrigin-RevId: b875e4a182d3a20720a2c4f78418134204df0111
Branch: master
https://github.com/mongodb/mongo/commit/4dcc4ae3e719ca49b64e694a2ee33c75bfe5550c

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