[SERVER-5484] Aggregation should filter out docs not belonging to current shard. Created: 03/Apr/12  Updated: 11/Jul/16  Resolved: 12/Jul/12

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 2.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Mathias Stearn
Resolution: Done Votes: 1
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS X 10.5 64-bit DEBUG


Issue Links:
Related
related to SERVER-3884 aggregation: add automated tests for... Closed
Operating System: ALL
Participants:

 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



 Comments   
Comment by auto [ 11/Jul/12 ]

Author:

{u'date': u'2012-07-11T12:30:11-07:00', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}

Message: SERVER-5484 loop correctly in DocumentSourceCursor::findNext()

this should fix the testshard1.js aggregation test.
Branch: master
https://github.com/mongodb/mongo/commit/dca801db5e2018d70a3331b9a25ec15f4efe126d

Comment by auto [ 10/Jul/12 ]

Author:

{u'date': u'2012-07-10T15:51:02-07:00', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}

Message: SERVER-5484 Aggregation should filter out docs not belonging to current shard
Branch: master
https://github.com/mongodb/mongo/commit/10df59c5853c680d93769c94f6e82abe4c0eccb0

Comment by auto [ 03/Apr/12 ]

Author:

{u'login': u'cwestin', u'name': u'Chris Westin', u'email': u'cwestin@yahoo.com'}

Message: SERVER-5484 temporarily disable sharded aggregation test
Branch: master
https://github.com/mongodb/mongo/commit/0723ecbbef37eb91668a6746c2d34262529b0c17

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