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

Clear classic plan cache when query knobs related to planning change

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

      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 Unassigned
            Reporter:
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: