Make query feature feature flag checking OFCV-aware

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-03-31, CAR Team 2025-04-14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Query features can be made conditional on feature flags, for example:

      REGISTER_ACCUMULATOR_WITH_FEATURE_FLAG(setUnion,
                                             genericParseSingleExpressionAccumulator<AccumulatorSetUnion>,
                                             feature_flags::gFeatureFlagArrayAccumulators);
      

      This is currently implemented as ExpressionContext acquiring a global FCV snapshot and using this as the basis for checking if the feature flag condition is fulfilled, also taking params.maxFeatureCompatibilityVersion into account.

      This logic should be adapted to also take Operation FCV into account.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: