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.

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

              Created:
              Updated:
              Resolved:
              2 years, 8 weeks, 1 day ago