Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15185

[SERVER] SERVER-60068: Avoid calls to fillOutPlannerParams() unless a replan is triggered

      Original Downstream Change Summary

      The resolution of index filters will only take into account the collations explicitly specified by the users no matter what the collection’s collation is.

      Description of Linked Ticket

      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.

            jason.price@mongodb.com Jason Price
            backlog-server-pm Backlog - Core Eng Program Management Team
            0 Vote for this issue
            2 Start watching this issue

              2 years, 2 weeks, 5 days ago