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

Add regression test for memory leak during planning

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.19, 3.6.10, 4.1.7, 4.0.6
    • Component/s: Querying
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0, v3.6, v3.4
    • Sprint:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: