<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:45:11 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-17659] Query plan cache support for partial indexes</title>
                <link>https://jira.mongodb.org/browse/SERVER-17659</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="190668">SERVER-17659</key>
            <summary>Query plan cache support for partial indexes</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="9">Done</resolution>
                                        <assignee username="rassi">J Rassi</assignee>
                                    <reporter username="ian@mongodb.com">Ian Whalen</reporter>
                        <labels>
                    </labels>
                <created>Thu, 19 Mar 2015 16:43:36 +0000</created>
                <updated>Thu, 9 Jun 2016 23:23:36 +0000</updated>
                            <resolved>Thu, 7 May 2015 15:25:20 +0000</resolved>
                                                    <fixVersion>3.1.3</fixVersion>
                                    <component>Index Maintenance</component>
                    <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="907663" author="xgen-internal-githook" created="Thu, 7 May 2015 15:24:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &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; Hook up PlanCacheIndexabilityState&lt;/p&gt;

&lt;p&gt;Extends the plan cache key encoding scheme to include indexability&lt;br/&gt;
information.  This information is generated from new private method&lt;br/&gt;
CollectionInfoCache::updatePlanCacheIndexEntries(), which is called&lt;br/&gt;
unconditionally from CollectionInfoCache::reset().&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/500cb567489db454bc6509cf6ff9704daf6fa352&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/500cb567489db454bc6509cf6ff9704daf6fa352&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="907661" author="xgen-internal-githook" created="Thu, 7 May 2015 15:24:46 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &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; Add PlanCacheIndexabilityState&lt;/p&gt;

&lt;p&gt;Encapsulates functionality to be used by PlanCache, for deciding how&lt;br/&gt;
to cache queries with predicates over elements in partial index key&lt;br/&gt;
patterns.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a3add38aaf5385a49d5e8a72ee05c6bbe0e13611&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a3add38aaf5385a49d5e8a72ee05c6bbe0e13611&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="907660" author="xgen-internal-githook" created="Thu, 7 May 2015 15:24:45 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &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; IndexEntry: add new member &apos;filterExpr&apos; to struct&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fd777917d262d759fa3fa83998cd67ef70b8b8f9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fd777917d262d759fa3fa83998cd67ef70b8b8f9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="907659" author="xgen-internal-githook" created="Thu, 7 May 2015 15:24:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &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; Minor reorg/cleanup of plan_cache.h, plan_cache.cpp&lt;/p&gt;

&lt;p&gt;Moves anonymous functions to private methods, in preparation for&lt;br/&gt;
plan cache &quot;indexability&quot; support:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;encodePlanCacheKeyTree() =&amp;gt; PlanCache::encodeKeyForMatch()&lt;/li&gt;
	&lt;li&gt;encodePlanCacheKeySort() =&amp;gt; PlanCache::encodeKeyForSort()&lt;/li&gt;
	&lt;li&gt;encodePlanCacheKeyProj() =&amp;gt; PlanCache::encodeKeyForProj()&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Replaces str::stream() use with StringBuilder where appropriate,&lt;br/&gt;
fixes commenting style.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c94a742593e9cf4302423642fb61d9da2d9c2897&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c94a742593e9cf4302423642fb61d9da2d9c2897&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="907657" author="xgen-internal-githook" created="Thu, 7 May 2015 15:24:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &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; Index build: call addedIndex() when in consistent state&lt;/p&gt;

&lt;p&gt;In IndexCatalog::IndexBuildBlock::success(), the call to&lt;br/&gt;
CollectionInfoCache::addedIndex() is delayed until the index is ready.&lt;br/&gt;
This allows CollectionInfoCache methods to (more) safely inspect the&lt;br/&gt;
IndexCatalog.&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-18346&quot; title=&quot;Investigate interaction of CollectionInfoCache::addedIndex()/droppedIndex() and IndexCatalogEntry DEV consistency checks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-18346&quot;&gt;&lt;del&gt;SERVER-18346&lt;/del&gt;&lt;/a&gt; for related information.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d3c8414d0b331a00d7b907b28529309d9abefb79&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d3c8414d0b331a00d7b907b28529309d9abefb79&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="895028" author="xgen-internal-githook" created="Wed, 22 Apr 2015 15:32:24 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &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; Move CQ::getPlanCacheKey() =&amp;gt; PlanCache::computeKey()&lt;/p&gt;

&lt;p&gt;Includes partial revert of e5f17aaf.  In particular, CanonicalQuery&lt;br/&gt;
objects no longer pre-generate their PlanCacheKey.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/d187ea1cc67b1975b6a1cbfcca1977598e9ea0c5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/d187ea1cc67b1975b6a1cbfcca1977598e9ea0c5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="895027" author="xgen-internal-githook" created="Wed, 22 Apr 2015 15:32:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &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; CanonicalQuery::sortTree() shouldn&apos;t depend on cache key&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/88f6f4733bca7c615dd6fedcfc93a24cfa68372a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/88f6f4733bca7c615dd6fedcfc93a24cfa68372a&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="290426">SERVER-24320</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</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>Wed, 15 Apr 2015 02:00:36 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 40 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1654</customfieldvalue>
                        </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>david.storch@mongodb.com</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hreurj:</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="450">Quint Iteration 3.1.1</customfieldvalue>
    <customfieldvalue id="470">Quint Iteration 3.1.2</customfieldvalue>
    <customfieldvalue id="490">Quint Iteration 3</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|hsg6l3:</customfieldvalue>

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