<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:45:10 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-17651] Lazily generate CanonicalQuery plan cache key</title>
                <link>https://jira.mongodb.org/browse/SERVER-17651</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;CanonicalQuery generates the plan cache key for the underlying query in the CanonicalQuery::init().  This is an expensive operation that is performed unnecessarily for CanonicalQuery objects that never have their plan cache key examined (see example in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/exec/sort.cpp#L239&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;exec/sort.cpp&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Instead, plan cache key generation should happen lazily on the first call to CanonicalQuery::getPlanCacheKey().  The first call to this method should save the generated cache key in the _cacheKey member variable for later retrieval.&lt;/p&gt;</description>
                <environment></environment>
        <key id="190506">SERVER-17651</key>
            <summary>Lazily generate CanonicalQuery plan cache key</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rassi">J Rassi</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Wed, 18 Mar 2015 19:42:56 +0000</created>
                <updated>Wed, 3 Jun 2015 21:19:13 +0000</updated>
                            <resolved>Wed, 3 Jun 2015 21:19:13 +0000</resolved>
                                                                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="931036" author="rassi@10gen.com" created="Wed, 3 Jun 2015 21:19:13 +0000"  >&lt;p&gt;Closing as &quot;Gone Away&quot;, as the member variable CanonicalQuery::_cacheKey was removed in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17659&quot; title=&quot;Query plan cache support for partial indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17659&quot;&gt;&lt;del&gt;SERVER-17659&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="897952" author="ramon.fernandez" created="Sat, 25 Apr 2015 00:12:57 +0000"  >&lt;p&gt;Ongoing work on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17659&quot; title=&quot;Query plan cache support for partial indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17659&quot;&gt;&lt;del&gt;SERVER-17659&lt;/del&gt;&lt;/a&gt; may make this ticket obsolete. We&apos;ll update this ticket as soon as we have more information as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-17659&quot; title=&quot;Query plan cache support for partial indexes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-17659&quot;&gt;&lt;del&gt;SERVER-17659&lt;/del&gt;&lt;/a&gt; develops. &lt;/p&gt;</comment>
                            <comment id="894541" author="ramon.fernandez" created="Wed, 22 Apr 2015 01:12:36 +0000"  >&lt;p&gt;Thanks for taking the time to submit a pull request &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ParadoxMeltdown&quot; class=&quot;user-hover&quot; rel=&quot;ParadoxMeltdown&quot;&gt;ParadoxMeltdown&lt;/a&gt;. There&apos;s some ongoing work in this area, so we need to evaluate whether your pull request goes in the same direction. Please watch this ticket for updates.&lt;/p&gt;

&lt;p&gt;Regards,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 23 Mar 2015 21:09:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 37 weeks 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>rassi</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 37 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>rassi</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrladr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs792n:</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_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|hsg6of:</customfieldvalue>

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