[SERVER-79460] Make sure FeatureFlagUtil.isPresentAndEnabled and other feature flag javascript helpers handle shouldBeFCVGated Created: 28/Jul/23  Updated: 29/Oct/23  Resolved: 11/Sep/23

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

Type: Task Priority: Major - P3
Reporter: Huayu Ouyang Assignee: Evelyn Wu
Resolution: Fixed Votes: 0
Labels: repl-shortlist
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-09-18
Participants:

 Description   

FeatureFlagUtil.isPresentAndEnabled does not take shouldBeFCVGated into account, whereas the FeatureFlag::isEnabled C++ function does. We should make sure the javascript feature flag helper functions handle `shouldBeFCVGated` properly

We should look into pulling the C++ `isEnabled` function into the shell functions so that we can use it in the JS tests instead of trying to re-do what's done in C++



 Comments   
Comment by Githook User [ 11/Sep/23 ]

Author:

{'name': 'Evelyn Wu', 'email': 'evelyn.wu@mongodb.com', 'username': 'evelynwumongo'}

Message: SERVER-79460 Make sure FeatureFlagUtil.isPresentAndEnabled and other feature flag javascript helpers handle shouldBeFCVGated
Branch: master
https://github.com/mongodb/mongo/commit/a8c247dd83adcef507e3a2546866e957939a89ed

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