[SERVER-14753] backup query solution for cached plans is leaked in get_executor.cpp Created: 31/Jul/14 Updated: 14/Nov/14 Resolved: 01/Aug/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 2.7.4 |
| Fix Version/s: | 2.7.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | David Storch |
| Resolution: | Done | Votes: | 0 |
| Labels: | cap-ticket-needed | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
|||||
| Backwards Compatibility: | Fully Compatible | |||||
| Operating System: | ALL | |||||
| Steps To Reproduce: | Run the following and check for increasing memory usage using a tool such as "top":
|
|||||
| Participants: | ||||||
| Description |
|
A memory leak was introduced in 2.7 versions as part of the refactor from the CachedPlanRunner to the CachedPlanStage. The code linked below calls QueryPlanner::planFromCache(), but fails to cleanup the backup query solution: |
| Comments |
| Comment by Githook User [ 02/Nov/14 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Githook User [ 01/Aug/14 ] |
|
Author: {u'username': u'dstorch', u'name': u'David Storch', u'email': u'david.storch@10gen.com'}Message: |