Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10097

aggregation: support $out on a sharded cluster

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.2
    • Component/s: Aggregation Framework
    • Labels:
      None

      Description

      Implement output option for aggregation pipelines only to unsharded collections. Input collections can be sharded.

      This should be considered a part of SERVER-3253. SERVER-3253 dealt with commits that only dealt with unsharded clusters.

        Issue Links

          Activity

          Hide
          auto auto (Inactive) added a comment -

          Author:

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

          Message: ExpressionContext now has the input namespace

          This reduces the amount of PipelineD injection and will make sharded
          $out easier (SERVER-10097).
          Branch: master
          https://github.com/mongodb/mongo/commit/21431f5bc46c292bd2962d5bf9aa16dc6f43a121

          Show
          auto auto (Inactive) added a comment - Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'} Message: ExpressionContext now has the input namespace This reduces the amount of PipelineD injection and will make sharded $out easier ( SERVER-10097 ). Branch: master https://github.com/mongodb/mongo/commit/21431f5bc46c292bd2962d5bf9aa16dc6f43a121
          Hide
          auto auto (Inactive) added a comment -

          Author:

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

          Message: Make doingMerge a property of DocumentSourceGroup rather than ExpressionContext

          Prep for sharded $out (SERVER-10097). Will need to be able to send a
          merging $group to a shard.
          Branch: master
          https://github.com/mongodb/mongo/commit/8e93f578191525c7dd96d3e5ab85c66b4802df55

          Show
          auto auto (Inactive) added a comment - Author: {u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'} Message: Make doingMerge a property of DocumentSourceGroup rather than ExpressionContext Prep for sharded $out ( SERVER-10097 ). Will need to be able to send a merging $group to a shard. Branch: master https://github.com/mongodb/mongo/commit/8e93f578191525c7dd96d3e5ab85c66b4802df55
          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-10097 sharded $out

          Note that all sharded aggregation tests now go through the
          "merge-on-mongod" codepath now rather than the "merge-in-mongos"
          codepath.
          Branch: master
          https://github.com/mongodb/mongo/commit/b51d448db276dba21766bd733b2dbab60f6789e0

          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-10097 sharded $out Note that all sharded aggregation tests now go through the "merge-on-mongod" codepath now rather than the "merge-in-mongos" codepath. Branch: master https://github.com/mongodb/mongo/commit/b51d448db276dba21766bd733b2dbab60f6789e0
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

          Message: SERVER-10097 Visual Studio – add db/pipeline/document_source_merge_cursors.cpp
          Branch: master
          https://github.com/mongodb/mongo/commit/d679581a15dbbdbcc3541ad2b509e6e3567fa7ae

          Show
          auto auto (Inactive) added a comment - Author: {u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'} Message: SERVER-10097 Visual Studio – add db/pipeline/document_source_merge_cursors.cpp Branch: master https://github.com/mongodb/mongo/commit/d679581a15dbbdbcc3541ad2b509e6e3567fa7ae

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: