Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.1
    • Component/s: Aggregation Framework
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

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

        Issue Links

          Activity

          Hide
          btiernay Bob Tiernay added a comment -

          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?

          Show
          btiernay Bob Tiernay added a comment - 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?
          Hide
          pasette Dan Pasette added a comment -

          This is currently planned for the 2.6 release.

          Show
          pasette Dan Pasette added a comment - This is currently planned for the 2.6 release.
          Hide
          auto auto (Inactive) added a comment -

          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

          Show
          auto auto (Inactive) added a comment - 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
          Hide
          auto auto (Inactive) added a comment -

          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

          Show
          auto auto (Inactive) added a comment - 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
          Hide
          milkie Eric Milkie added a comment -

          Unit test is failing in debug mode

          Show
          milkie Eric Milkie added a comment - Unit test is failing in debug mode
          Show
          milkie Eric Milkie added a comment - e.g. http://buildbot.mongodb.org/builders/Nightly%20Windows%2064-bit%202008R2%2B%20DEBUG/builds/92
          Hide
          auto auto (Inactive) added a comment -

          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

          Show
          auto auto (Inactive) added a comment - 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
          Hide
          auto auto (Inactive) added a comment -

          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

          Show
          auto auto (Inactive) added a comment - 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
          Hide
          pasette Dan Pasette added a comment -

          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

          Show
          pasette Dan Pasette added a comment - 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

            People

            • Votes:
              11 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: