Add a check to FeatureFlagUtil.getStatus() to catch incorrect usage

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • Execution Team 2024-03-18
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The FeatureFlagUtil (jstests/libs/feature_flag_util.js) takes parameter names without the "featureFlag" prefix. If you use a name with the "featureFlag" prefix it will look for a flag called "featureFlagfeatureFlagYourFlag", which is not going to work. We should have the FeatureFlagUtil reject such names to reduce the chance of user error.

              Assignee:
              Benety Goh
              Reporter:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: