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

Remove featureFlagAutoParameterization

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Optimization

      Under SERVER-61421 we plan to add a new feature flag, featureFlagAutoParameterization. While auto-parameterization is partially functional, this flag will be included in fully_disabled_feature_flags.yml. We will have a handful of tests which explicitly enable the flag in order to test auto-parameterization behavior.

      Once auto-parameterization is sufficiently mature, auto-parameterization will be enabled by default whenever its partner flag, featureFlagSbePlanCache, is also enabled. At this point, we can safely delete the code for featureFlagAutoParameterization, even before the SBE plan cache project is complete. This is safe because both the SBE plan cache and auto-parameterization will be guarded by featureFlagSbePlanCache.

      As part of this task, we should also move any tests which explicitly enable featureFlagSbePlanCache from jstests/noPassthrough/ to jstests/core/. When they had to modify server-wide configuration, these tests needed to be placed in noPassthrough. But once they no longer need to set featureFlagSbePlanCache, they can run in jstests/core/ in order to give us some more coverage via passthrough testing.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: