[SERVER-9444] Use new Sorter for Aggregation $sort and $group Created: 23/Apr/13  Updated: 02/Aug/18  Resolved: 10/Jul/13

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 2.5.1

Type: Task Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-10136 Passing impossible value to skip on a... Closed
is depended on by CSHARP-792 support new aggregation pipeline oper... Closed
is depended on by JAVA-942 Support allowDiskUse top-level boolea... Closed
is depended on by DOCS-1839 Document new Sorter for Aggregation $... Closed
is depended on by DRIVERS-113 add allowDiskUse:true to the top-leve... Closed
Duplicate
is duplicated by SERVER-3867 aggregation: use external sort to ha... Closed
is duplicated by SERVER-6272 aggregation does not track memory usa... Closed
Related
is related to SERVER-7694 external sort for find command Closed
is related to SERVER-6271 $group does not track memory usage Closed
Backwards Compatibility: Fully Compatible
Participants:

 Comments   
Comment by auto [ 22/Jul/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Add sort with large limit case to SERVER-9444 test

Crash reported in SERVER-10136, but resolved automatically by SERVER-9444.
Branch: master
https://github.com/mongodb/mongo/commit/c8fac60210477e7c716dc4c5e67556d63b703bb4

Comment by auto [ 22/Jul/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Add sort with large limit case to SERVER-9444 test

Crash reported in SERVER-10136, but resolved automatically by SERVER-9444.
Branch: master
https://github.com/mongodb/mongo/commit/c8fac60210477e7c716dc4c5e67556d63b703bb4

Comment by auto [ 22/Jul/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Enhance SERVER-9444 test to use cursors
Branch: master
https://github.com/mongodb/mongo/commit/90514f2d84a389060c63e826449b32dca8cab0f5

Comment by Mathias Stearn [ 10/Jul/13 ]

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.

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Add user-facing option for SERVER-9444: Using disk storage for $sort and $group
Branch: master
https://github.com/mongodb/mongo/commit/8512fdda5f4a5d69fa9084339eec13da9de10e7a

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: Extra safety to prevent Sorter from writing to disk in mongos

Follow-up to SERVER-9444
Branch: master
https://github.com/mongodb/mongo/commit/866c02716a21da7e0568569c5f7f96bbbab8cce7

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-9444 Make $group use Sorter when results don't fit in memory
Branch: master
https://github.com/mongodb/mongo/commit/fc3c814a0ac7cec753aa5ad18ec1c07ea84ecaf1

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-9444 Remove context-awareness from Accumulators to prep $group for Sorter
Branch: master
https://github.com/mongodb/mongo/commit/7d978b9ef92ca75a3b690601e7826a53f796c86a

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-9444 improve Sorter serialization of Document and Value

This is needed for correct handling of missing values.
Branch: master
https://github.com/mongodb/mongo/commit/1571ab85d3ecfd5b21670c00d6d29b6700adb84a

Comment by auto [ 10/Jul/13 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-9444 Use Sorter in DocumentSourceSort

For now external sorting is disabled, but this lays the groundwork to
enable it.
Branch: master
https://github.com/mongodb/mongo/commit/0e573d73f6bf7deea31e3f2c6076fe21a07effe0

Comment by Mathias Stearn [ 08/Jul/13 ]

removing ScanAndOrder from description of work for this ticket to focus on aggregation.

Generated at Thu Feb 08 03:20:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.