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

REGISTER_DOCUMENT_SOURCE_WITH_FEATURE_FLAG should be able to handle upgrade/downgrade

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Query Integration
    • Fully Compatible
    • ALL
    • QI 2023-12-11, QI 2023-12-25

      REGISTER_DOCUMENT_SOURCE_WITH_FEATURE_FLAG checks the value of the feature flag/FCV at startup and registers the document source appropriately. However, if you downgrade the FCV from an FCV where the feature flag is on by default to an FCV where the feature flag is off by default, the document source should error even though the document source will remain registered.

      We should consider changing the registration macro to wrap the "parse" function provided with a feature flag check, so that the feature flag is always pessimistically checked if registered with this macro.

            Assignee:
            gil.alon@mongodb.com Gil Alon
            Reporter:
            will.buerger@mongodb.com Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: