-
Type: Task
-
Resolution: Unresolved
-
Priority: 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.