<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:49:25 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-38601] Add regression test for memory leak during planning</title>
                <link>https://jira.mongodb.org/browse/SERVER-38601</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;This is known to be fixed by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35455&quot; title=&quot;QueryPlannerAccess should hold owned pointers by unique_ptr rather than raw pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35455&quot;&gt;&lt;del&gt;SERVER-35455&lt;/del&gt;&lt;/a&gt; so this is simply adding a regression test that we can use to verify the fix on older branches while backporting &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35455&quot; title=&quot;QueryPlannerAccess should hold owned pointers by unique_ptr rather than raw pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35455&quot;&gt;&lt;del&gt;SERVER-35455&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="653003">SERVER-38601</key>
            <summary>Add regression test for memory leak during planning</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="charlie.swanson@mongodb.com">Charlie Swanson</assignee>
                                    <reporter username="charlie.swanson@mongodb.com">Charlie Swanson</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Dec 2018 15:54:14 +0000</created>
                <updated>Sun, 29 Oct 2023 22:25:46 +0000</updated>
                            <resolved>Fri, 14 Dec 2018 13:12:42 +0000</resolved>
                                                    <fixVersion>3.4.19</fixVersion>
                    <fixVersion>3.6.10</fixVersion>
                    <fixVersion>4.0.6</fixVersion>
                    <fixVersion>4.1.7</fixVersion>
                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2097880" author="xgen-internal-githook" created="Thu, 20 Dec 2018 23:03:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;cswanson310&apos;, &apos;email&apos;: &apos;charlie.swanson@mongodb.com&apos;, &apos;name&apos;: &apos;Charlie Swanson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38601&quot; title=&quot;Add regression test for memory leak during planning&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38601&quot;&gt;&lt;del&gt;SERVER-38601&lt;/del&gt;&lt;/a&gt; Add regression test for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35455&quot; title=&quot;QueryPlannerAccess should hold owned pointers by unique_ptr rather than raw pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35455&quot;&gt;&lt;del&gt;SERVER-35455&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 5b736830826eca2cc36f4c6e2ebbcaf524e9c5e0)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/84d5a90f500bdf851bcdaa43a21435411c78975b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/84d5a90f500bdf851bcdaa43a21435411c78975b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2097860" author="xgen-internal-githook" created="Thu, 20 Dec 2018 22:43:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;cswanson310&apos;, &apos;email&apos;: &apos;charlie.swanson@mongodb.com&apos;, &apos;name&apos;: &apos;Charlie Swanson&apos;}
&lt;p&gt;Message: Targeted fix for reproduction script for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38601&quot; title=&quot;Add regression test for memory leak during planning&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38601&quot;&gt;&lt;del&gt;SERVER-38601&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The patch for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35455&quot; title=&quot;QueryPlannerAccess should hold owned pointers by unique_ptr rather than raw pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35455&quot;&gt;&lt;del&gt;SERVER-35455&lt;/del&gt;&lt;/a&gt; did not apply cleanly to this branch so&lt;br/&gt;
instead we pursued this more targeted fix for the leak described in&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38601&quot; title=&quot;Add regression test for memory leak during planning&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38601&quot;&gt;&lt;del&gt;SERVER-38601&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/63a529c95e65197227c158667b520ee9777024c5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/63a529c95e65197227c158667b520ee9777024c5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2097858" author="xgen-internal-githook" created="Thu, 20 Dec 2018 22:43:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;cswanson310&apos;, &apos;email&apos;: &apos;charlie.swanson@mongodb.com&apos;, &apos;name&apos;: &apos;Charlie Swanson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38601&quot; title=&quot;Add regression test for memory leak during planning&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38601&quot;&gt;&lt;del&gt;SERVER-38601&lt;/del&gt;&lt;/a&gt; Add regression test for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35455&quot; title=&quot;QueryPlannerAccess should hold owned pointers by unique_ptr rather than raw pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35455&quot;&gt;&lt;del&gt;SERVER-35455&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 5b736830826eca2cc36f4c6e2ebbcaf524e9c5e0)&lt;br/&gt;
(cherry picked from commit 8b4693170a7e5f640057a8532a9f92753ff3fb99)&lt;br/&gt;
(cherry picked from commit e4a68bba3602f5e295d6e2949cc4db749e752d27)&lt;br/&gt;
Branch: v3.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ef51ce0672dde933164fba1fc4f7ecf53c77b378&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ef51ce0672dde933164fba1fc4f7ecf53c77b378&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2095214" author="xgen-internal-githook" created="Tue, 18 Dec 2018 23:00:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;cswanson310&apos;, &apos;email&apos;: &apos;charlie.swanson@mongodb.com&apos;, &apos;name&apos;: &apos;Charlie Swanson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38601&quot; title=&quot;Add regression test for memory leak during planning&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38601&quot;&gt;&lt;del&gt;SERVER-38601&lt;/del&gt;&lt;/a&gt; Add regression test for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35455&quot; title=&quot;QueryPlannerAccess should hold owned pointers by unique_ptr rather than raw pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35455&quot;&gt;&lt;del&gt;SERVER-35455&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 5b736830826eca2cc36f4c6e2ebbcaf524e9c5e0)&lt;br/&gt;
(cherry picked from commit 8b4693170a7e5f640057a8532a9f92753ff3fb99)&lt;br/&gt;
(cherry picked from commit e4a68bba3602f5e295d6e2949cc4db749e752d27)&lt;br/&gt;
Branch: v3.6&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/67dab95118ab0d92908ff413d8667277298b1ba2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/67dab95118ab0d92908ff413d8667277298b1ba2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2090823" author="xgen-internal-githook" created="Fri, 14 Dec 2018 13:17:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;cswanson310&apos;, &apos;email&apos;: &apos;charlie.swanson@mongodb.com&apos;, &apos;name&apos;: &apos;Charlie Swanson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38601&quot; title=&quot;Add regression test for memory leak during planning&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38601&quot;&gt;&lt;del&gt;SERVER-38601&lt;/del&gt;&lt;/a&gt; Add regression test for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35455&quot; title=&quot;QueryPlannerAccess should hold owned pointers by unique_ptr rather than raw pointer&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35455&quot;&gt;&lt;del&gt;SERVER-35455&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3c20ed9fae8695f105c1068524997b92638ab58a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3c20ed9fae8695f105c1068524997b92638ab58a&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="555202">SERVER-35455</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    <customfieldvalue key="15141"><![CDATA[v3.6]]></customfieldvalue>
    <customfieldvalue key="14340"><![CDATA[v3.4]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 14 Dec 2018 13:17:55 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 7 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 7 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hug4f3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu67h3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="2594">Query 2018-12-31</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hufqof:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>