<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:15:13 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-16362] [SERVER] Investigate changes in SERVER-79724: Get rid of the AggregationTargeter::TargetingPolicy::kPassthrough and the entire &#8220;passthrough&#8221; code path in agg</title>
                <link>https://jira.mongodb.org/browse/DOCS-16362</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>    &lt;div class=&quot;panel&quot; style=&quot;background-color: #c2d2c2;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;background-color: #239eb0;&quot;&gt;&lt;b&gt;Original Downstream Change Summary&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    This patch changes shard targeting aggregation to no longer have a special case for unsharded collections (that is, aggregate command requests that target an unsharded collection use the same path as those which target a sharded collection). The effect of this is mostly invisible to the user, except for explain output, which in the case of an unsharded collection will put the output under the &apos;shards&apos; field (previously, this was not done). &lt;/p&gt;

&lt;p&gt;Another effect of this is that in $search against a sharded cluster, we will call &apos;planShardedSearch&apos; for an unsharded collection.&lt;/p&gt;
&lt;h2&gt;&lt;a name=&quot;DescriptionofLinkedTicket&quot;&gt;&lt;/a&gt;Description of Linked Ticket&lt;/h2&gt;
&lt;p&gt;    This code path should be unnecessary if the kAnyShard code path can handle all the cases with unsharded collections and route accordingly.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Eliminate LiteParsedPipeline::allowedToPassthroughFromMongos() and LiteParsedDocumentSource::allowedToPassthroughFromMongos()&lt;/li&gt;
	&lt;li&gt;Delete runPipelineOnPrimaryShard()&lt;/li&gt;
&lt;/ul&gt;


</description>
                <environment></environment>
        <key id="2432980">DOCS-16362</key>
            <summary>[SERVER] Investigate changes in SERVER-79724: Get rid of the AggregationTargeter::TargetingPolicy::kPassthrough and the entire &#8220;passthrough&#8221; code path in agg</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="caleb.thompson@mongodb.com">Caleb Thompson</assignee>
                                    <reporter username="backlog-server-pm">Backlog - Core Eng Program Management Team</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Sep 2023 21:49:24 +0000</created>
                <updated>Mon, 8 Jan 2024 17:04:50 +0000</updated>
                            <resolved>Wed, 6 Dec 2023 17:52:02 +0000</resolved>
                                                    <fixVersion>7.2 Targeted</fixVersion>
                    <fixVersion>Server_Docs_[20240108]</fixVersion>
                                    <component>manual</component>
                    <component>Server</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="5924589" author="caleb.thompson" created="Mon, 4 Dec 2023 21:54:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/10gen/docs-mongodb-internal/pull/5493&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/docs-mongodb-internal/pull/5493&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5918659" author="caleb.thompson" created="Fri, 1 Dec 2023 16:43:37 +0000"  >&lt;p&gt;Output when&#160; calling &apos;explain&apos; on an unsharded collection within a shared cluster:&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
&quot;shards&quot; : {&lt;br/&gt;
&#160;&#160;&#160; &quot;shard-rs0&quot; : {&lt;br/&gt;
&#160;&#160;&#160;&#160;&#160; &quot;host&quot; : &quot;localhost:20001&quot;,&lt;br/&gt;
&#160;&#160;&#160;&#160;&#160; &quot;queryPlanner&quot; : {&lt;br/&gt;
&#160; &#160; &#160;&#160;&#160;&#160; &quot;namespace&quot; : &quot;test.countscan&quot;,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&quot;indexFilterSet&quot; : false,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&quot;parsedQuery&quot; : &lt;/p&gt;
{
&#160; &#160; &#160; &#160; &#160; &quot;foo&quot; :

&#160; &#160; &#160; &#160; &#160; &#160;&#160;&#160;&#160; \{ &quot;$gt&quot; : 0 }

&lt;p&gt;&#160; &#160; &#160; &#160; &#160; &#160; &#160; },&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&quot;queryHash&quot; : &quot;EB25B9AD&quot;,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&quot;planCacheKey&quot; : &quot;7C739F3B&quot;,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&quot;optimizedPipeline&quot; : true,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&quot;maxIndexedOrSolutionsReached&quot; : false,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&quot;maxIndexedAndSolutionsReached&quot; : false,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&quot;maxScansToExplodeReached&quot; : false,&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&quot;winningPlan&quot; : {&lt;br/&gt;
&#160; &#160; &#160; &#160; &#160;&#160;&#160; &quot;queryPlan&quot; : {&lt;/p&gt;</comment>
                            <comment id="5852953" author="JIRAUSER1264464" created="Fri, 3 Nov 2023 17:13:03 +0000"  >&lt;p&gt;Blocked on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-80145&quot; title=&quot;Avoid explicit callers of ChunkManager::dbPrimary() when doing shard targeting in agg code&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-80145&quot;&gt;&lt;del&gt;SERVER-80145&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                            <outwardlinks description="documents">
                                        <issuelink>
            <issuekey id="2409212">SERVER-79724</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                                                <inwardlinks description="has to be done after">
                                        <issuelink>
            <issuekey id="2419074">SERVER-80145</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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_14258" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Baseline start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 27 Nov 2023 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 3 Nov 2023 17:13:03 +0000</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>This patch changes shard targeting aggregation to no longer have a special case for unsharded collections (that is, aggregate command requests that target an unsharded collection use the same path as those which target a sharded collection). The effect of this is mostly invisible to the user, except for explain output, which in the case of an unsharded collection will put the output under the &amp;#39;shards&amp;#39; field (previously, this was not done). &lt;br/&gt;
&lt;br/&gt;
Another effect of this is that in $search against a sharded cluster, we will call &amp;#39;planShardedSearch&amp;#39; for an unsharded collection.</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>
                            9 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ashley.brown@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-server-pm</customfieldvalue>
            <customfieldvalue>caleb.thompson@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2oym7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i26ye8:</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_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.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|i2okrj:</customfieldvalue>

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