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

Aggregation should filter out docs not belonging to current shard.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.2.0-rc0
    • Aggregation Framework
    • OS X 10.5 64-bit DEBUG
    • ALL

    Description

      m30001| Tue Apr  3 08:47:06 [conn3] command aggShard.$cmd command: { aggregate: "ts1", pipeline: [ { $group: { _id: "all", total: { $sum: "$counter" } } } ], splitMongodPipeline: true, fromRouter: true } ntoreturn:1 keyUpdates:0 reslen:86 3321ms
      assert failed : agg sharded test counter sum failed
      Error("Printing Stack Trace")@:0
      ()@src/mongo/shell/utils.js:37
      ("assert failed : agg sharded test counter sum failed")@src/mongo/shell/utils.js:58
      (false,"agg sharded test counter sum failed")@src/mongo/shell/utils.js:66
      @/Users/yellow/buildslaves/OS_X_105_64bit_DEBUG/mongo/jstests/aggregation/testshard1.js:97
       
      Tue Apr  3 08:47:06 uncaught exception: assert failed : agg sharded test counter sum failed
      failed to load: /Users/yellow/buildslaves/OS_X_105_64bit_DEBUG/mongo/jstests/aggregation/testshard1.js

      http://buildbot.mongodb.org/builders/OS%20X%2010.5%2064-bit%20DEBUG/builds/885/steps/test_13/logs/stdio

      Attachments

        Issue Links

          Activity

            People

              mathias@mongodb.com Mathias Stearn
              ian@mongodb.com Ian Whalen (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: