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

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

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 35 weeks, 6 days ago