Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18777

CachedPlanStage replanning mechanism does not apply to rooted $or queries

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Querying
    • Labels:
    • Sprint:
      Query 2017-10-23, Query 2017-11-13, Query 2017-12-04, Query 2017-12-18, Query 2018-01-01, Query 2018-01-15
    • Case:

      Description

      Rooted $or queries run through the SubplanStage path. The SubplanStage may use a cached plan for a branch of the $or without making use of the CachedPlanStage trial period logic. This means that rooted $or queries could use badly performing plans without plan cache entry eviction and replanning kicking in.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-query Backlog - Query Team
              Reporter:
              david.storch David Storch
              Participants:
              Votes:
              4 Vote for this issue
              Watchers:
              22 Start watching this issue

                Dates

                Created:
                Updated: