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

Add regression test for memory leak during planning

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.19, 3.6.10, 4.0.6, 4.1.7
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • v4.0, v3.6, v3.4
    • Query 2018-12-31

      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.

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

              Created:
              Updated:
              Resolved: