Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-79460

Make sure FeatureFlagUtil.isPresentAndEnabled and other feature flag javascript helpers handle shouldBeFCVGated

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Replication
    • Fully Compatible
    • Repl 2023-09-18

      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++

            Assignee:
            evelyn.wu@mongodb.com Evelyn Wu
            Reporter:
            huayu.ouyang@mongodb.com Huayu Ouyang
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: