[SERVER-76284] Fix memory leak in window function percentile benchmark Created: 19/Apr/23 Updated: 29/Oct/23 Resolved: 21/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 7.0.0-rc1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gil Alon | Assignee: | Gil Alon |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v7.0
|
||||||||
| Sprint: | QI 2023-05-01 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 155 | ||||||||
| Description |
|
In the benchmark we instantiate an ExpressionContextForTest and do not explicitly destroy it. Instead we should prefer to instantiate it as an boost::intrusive_ptr. |
| Comments |
| Comment by Githook User [ 24/Apr/23 ] |
|
Author: {'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}Message: (cherry picked from commit 80fb5bb7e8c9b6bff0dbce06e9e0207df27eecf2) |
| Comment by Githook User [ 21/Apr/23 ] |
|
Author: {'name': 'Gil Alon', 'email': 'gil.alon@mongodb.com', 'username': 'galon1'}Message: |