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

Make feature flags in storage_parameters.idl use operation FCV-aware checks

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: 8.1.0-rc0
    • Component/s: Upgrade/Downgrade
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-03-17
    • 200
    • 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 all FCV-gated feature flags listed in src/mongo/db/storage/storage_parameters.idl to use the new API.

      The following FCV-gated feature flags should not be converted to the new API:

      • Those such that version≤8.0 and default=true, as those are always enabled under any circumstances in MongoDB 8.1+.
      • Those that 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:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None