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

Make feature flags in query_feature_flags.idl use operation FCV-aware checks (part 1)

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: 8.1.0-rc0
    • Component/s: Upgrade/Downgrade
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-03-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-99351 introduced a new API for the FCV-gated feature flags that checks them against the operation FCV, however, existing feature flag checks were allowed to keep using the old API to ease the transition.

      This ticket is for converting the following FCV-gated feature flags listed in src/mongo/db/query/query_feature_flags.idl to use the new API:

      • gFeatureFlagAggMongosToRouter
      • gFeatureFlagBinDataConvertNumeric
      • gFeatureFlagCurrentDate
      • gFeatureFlagMongotIndexedViews
      • gFeatureFlagRankFusionBasic
      • gFeatureFlagRankFusionFull separated to SERVER-101754
      • gFeatureFlagShardFilteringDistinctScan

      FCV-gated feature flags should not be converted to the new API if they are deprecated or deprecation candidates, such as potentially those listed in fully_disabled_feature_flags.yml.

      If some of the feature flags under consideration in this ticket requires non-mechanical work to adapt to the new API, it may be split from this ticket into a new one.

            Assignee:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Reporter:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None