<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:15: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-27533] Allow &quot;from&quot; collection of $graphLookup to be sharded</title>
                <link>https://jira.mongodb.org/browse/SERVER-27533</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #EEEEEE;border-color: #ccc;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-color: #ccc;background-color: #6CB33F;&quot;&gt;&lt;b&gt;Issue Status as of Mar 21, 2019&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #EEEEEE;&quot;&gt;
&lt;p&gt;The $graphLookup aggregation stage allows for graph searches across unsharded collections or to use results from a sharded collection to perform a graph search in an unsharded collection. It does not allow for the &quot;from&quot; collection to be sharded.&lt;/p&gt;

&lt;p&gt;We understand this is a painful and unfortunate limit on the capabilities of the query language. We strive to make it so that the distribution of data does not impact the experience with the database, but are unable to implement this improvement to our satisfaction at this time. Implementing this feature would be subject to the same problems as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29159&quot; title=&quot;Allow &amp;quot;from&amp;quot; collection of $lookup to be sharded&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29159&quot;&gt;&lt;del&gt;SERVER-29159&lt;/del&gt;&lt;/a&gt;, where you can find a summary of the reasons we haven&apos;t implemented it. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29159&quot; title=&quot;Allow &amp;quot;from&amp;quot; collection of $lookup to be sharded&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29159&quot;&gt;&lt;del&gt;SERVER-29159&lt;/del&gt;&lt;/a&gt; also describes some workarounds which may be applicable to your use case as well.&lt;/p&gt;

&lt;p&gt;We plan to work towards this feature in the future, but have no specific target date or release at this time.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;h4&gt;&lt;a name=&quot;OriginalDescription&quot;&gt;&lt;/a&gt;Original Description&lt;/h4&gt;
&lt;p&gt;In the &lt;a href=&quot;https://docs.mongodb.com/v3.4/reference/operator/aggregation/graphLookup/#considerations&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;docs&lt;/a&gt; it mentions that the &lt;b&gt;from&lt;/b&gt; field in $graphLookup stage in the aggregation pipeline cannot take a sharded collection. &lt;br/&gt;
Wanted to know if this would be allowed in the near future. Would be a great addition.&lt;/p&gt;</description>
                <environment></environment>
        <key id="341390">SERVER-27533</key>
            <summary>Allow &quot;from&quot; collection of $graphLookup to be sharded</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="3">Duplicate</resolution>
                                        <assignee username="backlog-query-optimization">Backlog - Query Optimization</assignee>
                                    <reporter username="jyotman94">Jyotman Singh</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Dec 2016 17:46:09 +0000</created>
                <updated>Tue, 6 Dec 2022 04:08:43 +0000</updated>
                            <resolved>Thu, 30 Sep 2021 18:20:28 +0000</resolved>
                                                                    <component>Aggregation Framework</component>
                                        <votes>11</votes>
                                    <watches>30</watches>
                                                                                                                <comments>
                            <comment id="4094926" author="katherine.wu" created="Thu, 30 Sep 2021 18:20:28 +0000"  >&lt;p&gt;Closing this ticket, support for sharded &quot;from&quot; collections in $lookup and $graphLookup will be part of the upcoming 5.1 release.&lt;/p&gt;</comment>
                            <comment id="3610224" author="JIRAUSER1258666" created="Wed, 10 Feb 2021 20:56:57 +0000"  >&lt;p&gt;Can you provide ETA for this feature? Will be great if you can include in upcoming release&#160;&lt;/p&gt;</comment>
                            <comment id="2356049" author="senthinil" created="Fri, 2 Aug 2019 14:52:17 +0000"  >&lt;p&gt;is there any update on this feature? Regards&lt;/p&gt;

&lt;p&gt;Sentil&lt;/p&gt;</comment>
                            <comment id="2180145" author="ysokolov@informatica.com" created="Wed, 13 Mar 2019 19:48:56 +0000"  >&lt;p&gt;Is there an ETA for this feature? Can it be made part of upcoming 4.2? Thanks!&lt;/p&gt;</comment>
                            <comment id="2128190" author="akai-world@narod.ru" created="Fri, 25 Jan 2019 22:01:30 +0000"  >&lt;p&gt;really need this&lt;/p&gt;</comment>
                            <comment id="2125758" author="james.wahlin@10gen.com" created="Thu, 24 Jan 2019 14:28:20 +0000"  >&lt;p&gt;This ticket will remove the requirement that we must run on mongos as with &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38728&quot; title=&quot;Allow pipeline with $lookup into a sharded collection to run on mongod&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38728&quot;&gt;&lt;del&gt;SERVER-38728&lt;/del&gt;&lt;/a&gt; we will be able to perform shard to shard routing. It will not include test for shard versioning which will be added under &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39015&quot; title=&quot;Make local reads for $lookup/$graphLookup (on unsharded collections) provide a shard version&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39015&quot;&gt;&lt;del&gt;SERVER-39015&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1613348" author="michal@zappmeet.com" created="Tue, 4 Jul 2017 07:18:37 +0000"  >&lt;p&gt;$graphLookup in 3.4 (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-27533&quot; title=&quot;Allow &amp;quot;from&amp;quot; collection of $graphLookup to be sharded&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-27533&quot;&gt;&lt;del&gt;SERVER-27533&lt;/del&gt;&lt;/a&gt;) and $lookup in 3.2 (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-29159&quot; title=&quot;Allow &amp;quot;from&amp;quot; collection of $lookup to be sharded&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-29159&quot;&gt;&lt;del&gt;SERVER-29159&lt;/del&gt;&lt;/a&gt;) are great new things in MongoDB, but restriction to non-sharded collections makes it useless in practice.&lt;br/&gt;
Add sharded collections support to $graphQuery or at least to $lookup as soon as possible please, it is crucial to make it useful in real production environments. &lt;br/&gt;
Best Regards.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="658989">SERVER-38728</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="481814">SERVER-32666</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="383005">SERVER-29159</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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25126"><![CDATA[Query Optimization]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[500A000000bxyUjIAI]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 10 Jan 2017 20:40:42 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 18 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-32666'>SERVER-32666</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-38728'>SERVER-38728</a></s>]]></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-282</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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 18 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>akai-world@narod.ru</customfieldvalue>
            <customfieldvalue>backlog-query-optimization</customfieldvalue>
            <customfieldvalue>james.wahlin@mongodb.com</customfieldvalue>
            <customfieldvalue>jyotman94</customfieldvalue>
            <customfieldvalue>katherine.wu@mongodb.com</customfieldvalue>
            <customfieldvalue>michal@zappmeet.com</customfieldvalue>
            <customfieldvalue>mragupat@cisco.com</customfieldvalue>
            <customfieldvalue>senthinil</customfieldvalue>
            <customfieldvalue>ysokolov@informatica.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht090f:</customfieldvalue>

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

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