<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:20:26 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-9444] Use new Sorter for Aggregation $sort and $group</title>
                <link>https://jira.mongodb.org/browse/SERVER-9444</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description></description>
                <environment></environment>
        <key id="72890">SERVER-9444</key>
            <summary>Use new Sorter for Aggregation $sort and $group</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="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="mathias@mongodb.com">Mathias Stearn</assignee>
                                    <reporter username="mathias@mongodb.com">Mathias Stearn</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 Apr 2013 21:13:52 +0000</created>
                <updated>Thu, 2 Aug 2018 21:21:30 +0000</updated>
                            <resolved>Wed, 10 Jul 2013 21:43:31 +0000</resolved>
                                                    <fixVersion>2.5.1</fixVersion>
                                    <component>Aggregation Framework</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="386592" author="auto" created="Mon, 22 Jul 2013 22:19:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Add sort with large limit case to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt; test&lt;/p&gt;

&lt;p&gt;Crash reported in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10136&quot; title=&quot;Passing impossible value to skip on aggregation framework causes mongo to exit with out of memory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10136&quot;&gt;&lt;del&gt;SERVER-10136&lt;/del&gt;&lt;/a&gt;, but resolved automatically by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c8fac60210477e7c716dc4c5e67556d63b703bb4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c8fac60210477e7c716dc4c5e67556d63b703bb4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="386590" author="auto" created="Mon, 22 Jul 2013 22:19:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Add sort with large limit case to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt; test&lt;/p&gt;

&lt;p&gt;Crash reported in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-10136&quot; title=&quot;Passing impossible value to skip on aggregation framework causes mongo to exit with out of memory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-10136&quot;&gt;&lt;del&gt;SERVER-10136&lt;/del&gt;&lt;/a&gt;, but resolved automatically by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/c8fac60210477e7c716dc4c5e67556d63b703bb4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/c8fac60210477e7c716dc4c5e67556d63b703bb4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="386430" author="auto" created="Mon, 22 Jul 2013 19:43:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Enhance &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt; test to use cursors&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/90514f2d84a389060c63e826449b32dca8cab0f5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/90514f2d84a389060c63e826449b32dca8cab0f5&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="378451" author="redbeard0531" created="Wed, 10 Jul 2013 21:43:31 +0000"  >&lt;p&gt;The syntax currently used (adding allowDiskUsage:true to the top-level of an aggregate command) should not be considered final and is subject to change.&lt;/p&gt;</comment>
                            <comment id="378432" author="auto" created="Wed, 10 Jul 2013 21:20:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Add user-facing option for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt;: Using disk storage for $sort and $group&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8512fdda5f4a5d69fa9084339eec13da9de10e7a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8512fdda5f4a5d69fa9084339eec13da9de10e7a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="378429" author="auto" created="Wed, 10 Jul 2013 21:20:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: Extra safety to prevent Sorter from writing to disk in mongos&lt;/p&gt;

&lt;p&gt;Follow-up to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/866c02716a21da7e0568569c5f7f96bbbab8cce7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/866c02716a21da7e0568569c5f7f96bbbab8cce7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="378428" author="auto" created="Wed, 10 Jul 2013 21:20:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt; Make $group use Sorter when results don&apos;t fit in memory&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/fc3c814a0ac7cec753aa5ad18ec1c07ea84ecaf1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/fc3c814a0ac7cec753aa5ad18ec1c07ea84ecaf1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="378427" author="auto" created="Wed, 10 Jul 2013 21:20:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt; Remove context-awareness from Accumulators to prep $group for Sorter&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/7d978b9ef92ca75a3b690601e7826a53f796c86a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/7d978b9ef92ca75a3b690601e7826a53f796c86a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="378426" author="auto" created="Wed, 10 Jul 2013 21:20:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt; improve Sorter serialization of Document and Value&lt;/p&gt;

&lt;p&gt;This is needed for correct handling of missing values.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1571ab85d3ecfd5b21670c00d6d29b6700adb84a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1571ab85d3ecfd5b21670c00d6d29b6700adb84a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="378425" author="auto" created="Wed, 10 Jul 2013 21:20:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;RedBeard0531&apos;, u&apos;name&apos;: u&apos;Mathias Stearn&apos;, u&apos;email&apos;: u&apos;mathias@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9444&quot; title=&quot;Use new Sorter for Aggregation $sort and $group&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9444&quot;&gt;&lt;del&gt;SERVER-9444&lt;/del&gt;&lt;/a&gt; Use Sorter in DocumentSourceSort&lt;/p&gt;

&lt;p&gt;For now external sorting is disabled, but this lays the groundwork to&lt;br/&gt;
enable it.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0e573d73f6bf7deea31e3f2c6076fe21a07effe0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0e573d73f6bf7deea31e3f2c6076fe21a07effe0&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="376380" author="redbeard0531" created="Mon, 8 Jul 2013 18:44:01 +0000"  >&lt;p&gt;removing ScanAndOrder from description of work for this ticket to focus on aggregation.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="81625">SERVER-10136</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="85197">CSHARP-792</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="88410">JAVA-942</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="86660">DOCS-1839</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="85186">DRIVERS-113</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="22291">SERVER-3867</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="43113">SERVER-6272</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="56753">SERVER-7694</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="43112">SERVER-6271</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>11.0</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>Wed, 10 Jul 2013 21:20:21 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 30 weeks, 2 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/DRIVERSOLD-7'>DRIVERSOLD-7</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>greg.mckeon@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 30 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>mathias@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmvzr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrngan:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>50592</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_10166" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Tests Written</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10154"><![CDATA[Complete]]></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|hrjab3:</customfieldvalue>

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