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

Make feature flags in server_feature_flags.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: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-03-17, CAR Team 2025-03-31
    • 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/server_feature_flags.idl to use the new API:

      • featureFlagAllMongodsAreSharded
      • featureFlagDistinguishMetadataInconsistencyFromConflictingOperation
      • featureFlagErrorAndLogValidationAction
      • featureFlagRecordIdsReplicated
      • featureFlagStreams
      • featureFlagEndOfTransactionChangeEvent separated to SERVER-102327
      • featureFlagExposeClientIpInAuditLogs separated to SERVER-102328
      • featureFlagQETextSearchPreview separated to SERVER-102329
      • featureFlagSecurityToken separated to SERVER-102330

      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.

      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:
            robert.sander@mongodb.com Robert Sander
            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