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

Invalidate $lookup plan cache when foreign collection size decreases

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Query Execution

    Description

      Ticket SERVER-66935 only handles the case when the size of the foreign collection increases. When the execution tree has hash_lookup stage but the foreign collection is no longer eligible for it, we perform replanning and invalidate the existing plan cache entry.

      The case when the foreign collection size decreases and it is again eligible for hahs_lookup is not handled.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: