Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
QO 2021-11-29, QO 2021-12-13, QO 2021-12-27, QO 2022-01-10, QO 2022-01-24, QO 2022-02-07, QO 2022-02-21, QO 2022-03-07, QO 2022-03-21, QO 2022-04-04
-
135
Description
Currently we call fillOutPlannerParams() in the early stage of PrepareExecutionHelper::prepare() call. However, if we're about to recover the plan from the cache and not going to replan, this call is totally unnecessary as we're not going to call the the query planner. Given that this call is quite expensive, we should delay it until we know that we're going to replan.
Attachments
Issue Links
- is documented by
-
DOCS-15185 [SERVER] SERVER-60068: Avoid calls to fillOutPlannerParams() unless a replan is triggered
-
- Closed
-