[SERVER-5932] support cursor based aggregation Created: 25/May/12  Updated: 03/Jan/19  Resolved: 15/Jul/13

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

Type: New Feature Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Mathias Stearn
Resolution: Done Votes: 11
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-10134 GetMore shouldn't swallow errors Closed
is depended on by CSHARP-798 Support Aggregate Command Returning a... Closed
is depended on by DRIVERS-98 Aggregation command can optionally re... Closed
is depended on by JAVA-911 Support aggregation output as a cursor Closed
is depended on by PYTHON-542 Support aggregation output as a cursor. Closed
is depended on by SERVER-3253 aggregation: unsharded support $out Closed
is depended on by SERVER-10097 aggregation: support $out on a sharde... Closed
is depended on by DOCS-1835 Document cursor based aggregation Closed
Related
related to SERVER-8261 system for commands to return cursors Closed
is related to SERVER-38831 Make the cursor option to the aggrega... Backlog
Backwards Compatibility: Fully Compatible
Participants:

 Description   

We should be able to get aggregation results out via a cursor as if they were a regular query.



 Comments   
Comment by Daniel Pasette (Inactive) [ 04/Sep/13 ]

This feature is released on the dev branch. Initial documentation can be found here: http://docs.mongodb.org/manual/release-notes/2.6/#aggregation-operation-may-return-a-cursor

Comment by auto [ 08/Aug/13 ]

Author:

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

Message: Support cursors returned from sharded aggregation

Follow-up to SERVER-5932
Branch: master
https://github.com/mongodb/mongo/commit/72cbbb5697ad341cdd3241db138ffeaf6aed3754

Comment by auto [ 15/Jul/13 ]

Author:

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

Message: SERVER-5932 Fix use after free

BuildBot ticket: SERVER-10200
Branch: master
https://github.com/mongodb/mongo/commit/8c0ff93cc3f7088794f1d28322fe29702998165d

Comment by Eric Milkie [ 15/Jul/13 ]

e.g.
http://buildbot.mongodb.org/builders/Nightly%20Windows%2064-bit%202008R2%2B%20DEBUG/builds/92

Comment by Eric Milkie [ 15/Jul/13 ]

Unit test is failing in debug mode

Comment by auto [ 11/Jul/13 ]

Author:

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

Message: SERVER-5932 Aggregation returning a cursor

related tickets:
SERVER-8261 System for commands to return cursors
SERVER-10165 aggregate() helper should return cursor
Branch: master
https://github.com/mongodb/mongo/commit/a51f2688fa05672d999c997170847a3ee29a223b

Comment by auto [ 11/Jul/13 ]

Author:

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

Message: SERVER-10134 Report errors during GetMore processing

This is necessary for SERVER-5932 (aggregation returning cursors)
Branch: master
https://github.com/mongodb/mongo/commit/0f43cfcbe063c1f4615ce362e751155218224bec

Comment by Daniel Pasette (Inactive) [ 16/Jun/13 ]

This is currently planned for the 2.6 release.

Comment by Bob Tiernay [ 15/May/13 ]

This is crucial for any sizeable collection. Otherwise it may require reissuing the aggregation pipeline multiple times in order to page through the results. This is terribly inefficient.

Is there an ETA on this feature?

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