Clear classic plan cache when query knobs related to planning change

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

      We clear the SBE plan cache when certain query knobs change (internalQueryPlanEvaluationMaxResults for example), so that the effects of those changes can be seen when queries are rerun. We should also clear the classic cache when query knobs change.

      If users (or jstests) have to change these knobs for some reason, it would make sense for the SBE/Classic behavior to be consistent, and would allow the query knob settings to take effect.

            Assignee:
            Unassigned
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: