[SERVER-38601] Add regression test for memory leak during planning Created: 13/Dec/18 Updated: 29/Oct/23 Resolved: 14/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.19, 3.6.10, 4.0.6, 4.1.7 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Charlie Swanson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v4.0, v3.6, v3.4
|
||||||||||||
| Sprint: | Query 2018-12-31 | ||||||||||||
| Participants: | |||||||||||||
| 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 |
| Comments |
| Comment by Githook User [ 20/Dec/18 ] |
|
Author: {'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson'}Message: (cherry picked from commit 5b736830826eca2cc36f4c6e2ebbcaf524e9c5e0) |
| Comment by Githook User [ 20/Dec/18 ] |
|
Author: {'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson'}Message: Targeted fix for reproduction script for The patch for |
| Comment by Githook User [ 20/Dec/18 ] |
|
Author: {'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson'}Message: (cherry picked from commit 5b736830826eca2cc36f4c6e2ebbcaf524e9c5e0) |
| Comment by Githook User [ 18/Dec/18 ] |
|
Author: {'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson'}Message: (cherry picked from commit 5b736830826eca2cc36f4c6e2ebbcaf524e9c5e0) |
| Comment by Githook User [ 14/Dec/18 ] |
|
Author: {'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com', 'name': 'Charlie Swanson'}Message: |