<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:32:37 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-54082] Explore unpacking of buckets on mongos in a sharded environment</title>
                <link>https://jira.mongodb.org/browse/SERVER-54082</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Under PM-1945 the simplest approach to allow for $_internalUnpackBucket to work in a sharded environment was to push $_internalUnpackBucket onto the shards and send the unpacked measurements to mongos. This ticket encapsulates work that could be a good optimization to reduce network traffic between mongod and mongos. We should explore when the tipping point would be given metadata size, the number of included/excluded projections when it would be cheaper to send buckets between mongos and mongod and unpack on the merging node.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1602503">SERVER-54082</key>
            <summary>Explore unpacking of buckets on mongos in a sharded environment</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="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-integration">Backlog - Query Integration</assignee>
                                    <reporter username="eric.cox@mongodb.com">Eric Cox</reporter>
                        <labels>
                            <label>qi-timeseries</label>
                            <label>qopt-team</label>
                            <label>query-skunkworks</label>
                    </labels>
                <created>Wed, 27 Jan 2021 20:01:36 +0000</created>
                <updated>Wed, 27 Dec 2023 16:20:42 +0000</updated>
                                                                            <component>Querying</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="4169657" author="david.percy" created="Thu, 4 Nov 2021 16:19:27 +0000"  >&lt;p&gt;Maybe this should wait until we have sharded time-series benchmarks running in CI (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-61187&quot; title=&quot;Add evergreen targets for TSBS on sharded variants&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-61187&quot;&gt;&lt;del&gt;SERVER-61187&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="4164038" author="david.percy" created="Tue, 2 Nov 2021 16:04:51 +0000"  >&lt;blockquote&gt;
&lt;p&gt;I was imagining we would do something similar to this $unwind optimization.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;We might want to move other stages to the mongos too.  If you have &lt;span class=&quot;error&quot;&gt;&amp;#91;$match, $_internalUnpackBucket, $set&amp;#93;&lt;/span&gt; then you might want to run &lt;span class=&quot;error&quot;&gt;&amp;#91;$_internalUnpackBucket, $set&amp;#93;&lt;/span&gt; on mongos, even though $_internalUnpackBucket isn&apos;t the last stage.&lt;/p&gt;

&lt;p&gt;Moving a stage from the shards to mongos would be bad if that stage&apos;s output will be much bigger than its input.  We might not want to move $match in case it&apos;s very selective.&lt;/p&gt;</comment>
                            <comment id="4127239" author="david.percy" created="Fri, 15 Oct 2021 19:07:21 +0000"  >&lt;blockquote&gt;
&lt;p&gt;when the tipping point would be given metadata size, the number of included/excluded projections&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;In the future, if we create a more compressed bucket format, it would be even more beneficial to do the unpacking on mongos.&lt;/p&gt;</comment>
                            <comment id="3599172" author="charlie.swanson" created="Thu, 4 Feb 2021 15:17:08 +0000"  >&lt;p&gt;For more details, I was imagining we would do something similar to &lt;a href=&quot;https://github.com/mongodb/mongo/blob/9686cd9358b744877d43a2d7b71fdb91e40d3de9/src/mongo/db/pipeline/sharded_agg_helpers.cpp#L294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this $unwind optimization&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3587176" author="eric.cox" created="Thu, 28 Jan 2021 15:00:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=david.storch&quot; class=&quot;user-hover&quot; rel=&quot;david.storch&quot;&gt;david.storch&lt;/a&gt;&#160;Yes indeed this is future work, sounds good about moving it. I only put it here because I wasn&apos;t absolutely sure about what epic to use or if it should go only in the backlog.&lt;/p&gt;</comment>
                            <comment id="3587146" author="david.storch" created="Thu, 28 Jan 2021 14:54:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eric.cox&quot; class=&quot;user-hover&quot; rel=&quot;eric.cox&quot;&gt;eric.cox&lt;/a&gt; I think we agreed that this would be future work, right? For that reason, I&apos;m going to remove this ticket from our current project and put it into the team&apos;s triage queue.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1915996">SERVER-61187</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25467"><![CDATA[Query Integration]]></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>Thu, 28 Jan 2021 14:54:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 13 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-61187'>SERVER-61187</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_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>ted.tuckman@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 13 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-query-integration</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>david.percy@mongodb.com</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>eric.cox@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hyrmqv:</customfieldvalue>

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

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