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

Add regression test for memory leak during planning

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.19, 3.6.10, 4.0.6, 4.1.7
    • Querying
    • None
    • Fully Compatible
    • v4.0, v3.6, v3.4
    • Query 2018-12-31

    Description

      Recently we discovered a memory leak during planning where a partial plan is built for a subtree of the query, then we later find that we cannot index another branch of the query and discard the larger plan in a way that leaks the partial plan.

      This is known to be fixed by SERVER-35455 so this is simply adding a regression test that we can use to verify the fix on older branches while backporting SERVER-35455.

      Attachments

        Issue Links

          Activity

            People

              charlie.swanson@mongodb.com Charlie Swanson
              charlie.swanson@mongodb.com Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: