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

Make eof plans eligible for the plan cache

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Query Optimization
    • Fully Compatible
    • QO 2024-02-05, QO 2024-02-19

      In certain cases, EOF nodes can wind up as a child node in QuerySolution tree. Given that such nodes are now ineligible for the plan cache after https://jira.mongodb.org/browse/SERVER-84278, such child nodes can inhibit a QuerySolution from being plan cache eligible.

      As such, we should reenable plan cache eligibility for EOF plans and remove the tassert that causes cached EOF plans to crash during sbe preparation and execution.

            Assignee:
            lynne.wang@mongodb.com Lynne Wang
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: