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

Make eof plans eligible for the plan cache

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Optimization
    • QO 2024-02-05, QO 2024-02-19

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: