<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:11:04 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>[DOCS-14733] Shard routing for aggregations using $lookup is misleading</title>
                <link>https://jira.mongodb.org/browse/DOCS-14733</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;The docs page for aggregations on sharded clusters says the following:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&amp;gt; &lt;font color=&quot;#21313c&quot;&gt;If the pipeline starts with an exact&#160;&lt;/font&gt;&lt;a href=&quot;https://docs.mongodb.com/manual/reference/operator/aggregation/match/#mongodb-pipeline-pipe.-match&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;$match&lt;/tt&gt;&lt;/a&gt;&lt;font color=&quot;#21313c&quot;&gt;&#160;on a shard key, the entire pipeline runs on the matching shard only.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;However, aggregations starting with an exact $match on a shard key can still require running on multiple shards if the pipeline contains a $lookup stage, as this requires being run on the primary shard of the cluster.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;The statement above should be clarified to note that an exact $match is not sufficient to ensure single shard execution.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;A PR to clarify this has already been prepared:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/docs/compare/master...asya999:patch-81&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs/compare/master...asya999:patch-81&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="1850144">DOCS-14733</key>
            <summary>Shard routing for aggregations using $lookup is misleading</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="jason.price@mongodb.com">Jason Price</assignee>
                                    <reporter username="adam.harrison@mongodb.com">Adam Harrison</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Aug 2021 16:24:00 +0000</created>
                <updated>Mon, 13 Nov 2023 17:49:56 +0000</updated>
                            <resolved>Wed, 19 Jan 2022 19:34:51 +0000</resolved>
                                                    <fixVersion>4.4.0</fixVersion>
                    <fixVersion>5.0.0</fixVersion>
                    <fixVersion>5.1.0</fixVersion>
                    <fixVersion>5.2.0</fixVersion>
                    <fixVersion>5.3.0</fixVersion>
                    <fixVersion>Server_Docs_20231030</fixVersion>
                    <fixVersion>Server_Docs_20231106</fixVersion>
                    <fixVersion>Server_Docs_20231105</fixVersion>
                    <fixVersion>Server_Docs_20231113</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4301949" author="xgen-internal-githook" created="Thu, 20 Jan 2022 00:38:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jason-price-mongodb&apos;, &apos;email&apos;: &apos;69260375+jason-price-mongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;jason-price-mongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-14733&quot; title=&quot;Shard routing for aggregations using $lookup is misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-14733&quot;&gt;&lt;del&gt;DOCS-14733&lt;/del&gt;&lt;/a&gt; shard routing for aggregations (#340)&lt;/p&gt;

&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;br/&gt;
Branch: v5.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/6d65a62b029eaf5ef30f8e1df01538b6e4b5428c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/6d65a62b029eaf5ef30f8e1df01538b6e4b5428c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4301130" author="xgen-internal-githook" created="Wed, 19 Jan 2022 19:33:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jason-price-mongodb&apos;, &apos;email&apos;: &apos;69260375+jason-price-mongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;jason-price-mongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-14733&quot; title=&quot;Shard routing for aggregations using $lookup is misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-14733&quot;&gt;&lt;del&gt;DOCS-14733&lt;/del&gt;&lt;/a&gt; shard routing for aggregations (#340) (#352)&lt;/p&gt;

&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;/p&gt;

&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;br/&gt;
Branch: v4.4&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/61d194e4e63cf644192cae00ef1c10ac3367128f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/61d194e4e63cf644192cae00ef1c10ac3367128f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4301113" author="xgen-internal-githook" created="Wed, 19 Jan 2022 19:29:47 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jason-price-mongodb&apos;, &apos;email&apos;: &apos;69260375+jason-price-mongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;jason-price-mongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-14733&quot; title=&quot;Shard routing for aggregations using $lookup is misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-14733&quot;&gt;&lt;del&gt;DOCS-14733&lt;/del&gt;&lt;/a&gt; shard routing for aggregations (#340) (#351)&lt;/p&gt;

&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;/p&gt;

&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;br/&gt;
Branch: v5.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/d33d4c288568160fd19c6edbaa1af8b404fc81f8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/d33d4c288568160fd19c6edbaa1af8b404fc81f8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4301096" author="xgen-internal-githook" created="Wed, 19 Jan 2022 19:22:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jason-price-mongodb&apos;, &apos;email&apos;: &apos;69260375+jason-price-mongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;jason-price-mongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-14733&quot; title=&quot;Shard routing for aggregations using $lookup is misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-14733&quot;&gt;&lt;del&gt;DOCS-14733&lt;/del&gt;&lt;/a&gt; shard routing for aggregations (#340) (#349)&lt;/p&gt;

&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;/p&gt;

&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;br/&gt;
Branch: v5.1&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/b426a92d5690343c543626c4548b6f909917cee5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/b426a92d5690343c543626c4548b6f909917cee5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4301062" author="xgen-internal-githook" created="Wed, 19 Jan 2022 19:13:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;jason-price-mongodb&apos;, &apos;email&apos;: &apos;69260375+jason-price-mongodb@users.noreply.github.com&apos;, &apos;username&apos;: &apos;jason-price-mongodb&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DOCS-14733&quot; title=&quot;Shard routing for aggregations using $lookup is misleading&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DOCS-14733&quot;&gt;&lt;del&gt;DOCS-14733&lt;/del&gt;&lt;/a&gt; shard routing for aggregations (#340)&lt;/p&gt;

&lt;p&gt;Co-authored-by: jason-price-mongodb &amp;lt;jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/commit/6d65a62b029eaf5ef30f8e1df01538b6e4b5428c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/commit/6d65a62b029eaf5ef30f8e1df01538b6e4b5428c&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4005441" author="adam.harrison" created="Tue, 17 Aug 2021 21:46:48 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jeffrey.allen&quot; class=&quot;user-hover&quot; rel=&quot;jeffrey.allen&quot;&gt;jeffrey.allen&lt;/a&gt; ,&lt;/p&gt;

&lt;p&gt;Unfortunately I don&apos;t think I have the ability to create a pull request. The comparison was something Asya linked when we were discussing this behavior in Slack. Should I reach out to her to create a formalized PR or is something you would be able to do?&lt;/p&gt;

&lt;p&gt;-Adam&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 16 Aug 2021 19:44:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 3 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_14876" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Docs Reviewer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>dave.cuthbert@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DOCSP-11702</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_14873" key="com.atlassian.jira.plugin.system.customfieldtypes:multiuserpicker">
                        <customfieldname>External Reviewer</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[adam.harrison@mongodb.com]]></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>emet.ozar@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 3 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>adam.harrison@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jason.price@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxkiv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hzhp8f:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5640">ServerDocs2022: Jan11 - Jan18</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzx6rr:</customfieldvalue>

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