Promote plan strategy knobs to query settings

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2026-07-20
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Promote the plan strategy toggles to be settable per query shape via Persistent Query Settings, following the same recipe as SERVER-129316/129317: migrate any remaining direct global readers to QueryKnobConfiguration (see the needs_replacement burn-down from SERVER-129580), then register/flip pqs_settable: true in the knob IDLs.

      Knobs in scope:
      * internalQueryDisablePlanCache
      * internalQueryDisableLookupExecutionUsingHashJoin
      * internalQueryCollectionMaxDataSizeBytesToChooseHashJoin
      * internalQueryCollectionMaxNoOfDocumentsToChooseHashJoin
      * internalQueryCollectionMaxStorageSizeBytesToChooseHashJoin
      * internalQueryDisableSingleFieldExpressExecutor
      * internalQueryPlannerUseMultiplannerForSingleSolutions (already knob-registered)
      * internalQueryMaxScansToExplode (already knob-registered)
      * internalQueryPlannerPushdownFilterToIxscanForSort

      Join reorder/method knobs are excluded: they are covered by SERVER-129319.

            Assignee:
            Catalin Sumanaru
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: