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

Audit uses of FeatureFlag::isEnabledAndIgnoreFCV() (QE)

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Query Execution 2021-07-12, Query Execution 2021-07-26, QE 2021-08-09, QE 2021-09-06, QE 2021-09-20

    Description

      According to documentation here and here, we should prefer to use FeatureFlag::isEnabled() over FeatureFlag::isEnabledAndIgnoreFCV() because it will prevent upgrade/downgrade issues. There are a couple of occurrences of FeatureFlag::isEnabledAndIgnoreFCV() in query code where we may not want to ignore FCV. This ticket is to audit our feature flag checks and make any changes to ensure we're following this guidance.

      Attachments

        Issue Links

          Activity

            People

              jennifer.peshansky@mongodb.com Jennifer Peshansky
              hana.pearlman@mongodb.com Hana Pearlman
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: