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

[v6.0] Investigate best way to check query stats feature flag

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.16
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • Fully Compatible
    • 162

      The 'standard practice' for doing this has evolved over time with the branches, and the recommended way to do the FCV/feature flag check on master does not exist on 6.0. If you attempt to check the FCV using the default 'isEnabled(fcv)' then it complains that FCV is uninitialized. I think there must be some way to mimic the behavior we get in the nice helper functions on master and v7.0 without using those exact helper functions. It's worth looking into.

      If all goes well, I would hope that we could re-enable this test: https://github.com/10gen/mongo/pull/21239/files#diff-6cf03d42607d9b0bc24a5bb3dbe59f34bf0b0c5ca74efa25efcf3a761dfe8f79

      alyssa.clark@mongodb.com found that this test was not passing on the v6.0 branch, but it was never running in evergreen since there was no suite/variant which configured that necessary "smaller" feature flag for find command query stats. So we just temporarily deleted it.

            Assignee:
            alyssa.clark@mongodb.com Alyssa Clark
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: