<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:18:45 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-28667] Provide a way for the Aggregation framework to query against intervals of a hashed index</title>
                <link>https://jira.mongodb.org/browse/SERVER-28667</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The Spark connector uses the Aggregation Framework to create data partitions that are sent to Spark workers. In a sharded cluster it makes sense to align these partitions to chunk boundaries so that each worker&apos;s data loading query is targeted to a single shard.&lt;/p&gt;

&lt;p&gt;This however is impossible when the shard key is a hashed index. A simple find can use $min / $max but there is no comparable facility in the aggregation framework.&lt;/p&gt;</description>
                <environment></environment>
        <key id="371891">SERVER-28667</key>
            <summary>Provide a way for the Aggregation framework to query against intervals of a hashed index</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-optimization">Backlog - Query Optimization</assignee>
                                    <reporter username="sylvain.chambon@mongodb.com">Sylvain Chambon</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Apr 2017 11:21:35 +0000</created>
                <updated>Tue, 6 Dec 2022 04:03:59 +0000</updated>
                                            <version>3.4.3</version>
                                                    <component>Aggregation Framework</component>
                                        <votes>5</votes>
                                    <watches>17</watches>
                                                                                                                <comments>
                            <comment id="1545620" author="andrew.ryder@10gen.com" created="Tue, 11 Apr 2017 01:13:51 +0000"  >&lt;p&gt;I think &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24274&quot; title=&quot;Create a command to provide query bounds for partitioning data in a collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24274&quot;&gt;SERVER-24274&lt;/a&gt; is a different (though related) use case. Here is my summary:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24274&quot; title=&quot;Create a command to provide query bounds for partitioning data in a collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24274&quot;&gt;SERVER-24274&lt;/a&gt;: Ability to query against a non-sharded collection in a way that makes it behave a lot like it&apos;s sharded. $bucketAuto should be a suitable candidate to fulfil these use cases (the cases specifically are not load related, they are about data distribution).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-28667&quot; title=&quot;Provide a way for the Aggregation framework to query against intervals of a hashed index&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-28667&quot;&gt;SERVER-28667&lt;/a&gt; (this ticket): Ability to constrain query results to being sourced from a particular shard. This permits the ability to manage workloads at the shards caused by distributed processing systems like Spark &amp;#8211; these systems would ideally be prescient about the load that is generated at any single shard by their members in combination without actually requiring all members to be constantly negotiating. The MongoDB distribution model has this information, and it can be used in a query, but not in aggregation. That is the only missing piece of the puzzle.&lt;/p&gt;</comment>
                            <comment id="1543616" author="sylvain.chambon" created="Fri, 7 Apr 2017 14:51:19 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=anonymous.user&quot; class=&quot;user-hover&quot; rel=&quot;anonymous.user&quot;&gt;anonymous.user&lt;/a&gt;, Charlie&apos;s $bucketAuto is a good idea for creating partitions in general. Unfortunately it doesn&apos;t help with the specific goal of having partitions targeted to a single shard while using a hashed shard key. Using $bucketAuto, each partition would be spread across all shards.&lt;/p&gt;</comment>
                            <comment id="1543556" author="thomas.schubert" created="Fri, 7 Apr 2017 14:10:54 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=sylvain.chambon&quot; class=&quot;user-hover&quot; rel=&quot;sylvain.chambon&quot;&gt;sylvain.chambon&lt;/a&gt;, &lt;/p&gt;

&lt;p&gt;I&apos;ve linked to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24274&quot; title=&quot;Create a command to provide query bounds for partitioning data in a collection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-24274&quot;&gt;SERVER-24274&lt;/a&gt;, which might provide the functionality that your looking for. Can you take a look and let me know? Specifically, please see &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-24274?focusedCommentId=1293770&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1293770&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;Charlie&apos;s comment about a possible workaround&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thank you,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10320">
                    <name>Documented</name>
                                                                <inwardlinks description="is documented by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="289045">SERVER-24274</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="332523">SPARK-98</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="144760">SERVER-14400</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_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[[500A000000Wk7J5IAJ]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 7 Apr 2017 14:10:54 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 44 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_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>
                            6 years, 44 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.ryder@mongodb.com</customfieldvalue>
            <customfieldvalue>backlog-query-optimization</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>sylvain.chambon@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht5fvr:</customfieldvalue>

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

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