-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.2.7, 2.8.0-rc4
-
Component/s: MapReduce
-
Query
-
Fully Compatible
-
ALL
-
I was able to reproduce this bug with master and 2.2.7 (but didn't test further back than that).
Assertion failure all.size() == 1 src/mongo/db/commands/mr.cpp 512 #0 0x00007ffff7bcc20b in raise (sig=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37 #1 0x00000000018a6003 in mongo::mongo_breakpoint () at src/mongo/util/debug_util.cpp:58 #2 0x000000000189c7f8 in mongo::breakpoint () at src/mongo/util/debug_util.h:73 #3 0x000000000189b454 in mongo::verifyFailed (expr=0x1f69337 "all.size() == 1", file=0x1f68f8a "src/mongo/db/commands/mr.cpp", line=512) at src/mongo/util/assert_util.cpp:134 #4 0x00000000012bcf83 in mongo::mr::State::appendResults (this=0x7ffff7fca1c0, final=...) at src/mongo/db/commands/mr.cpp:512 #5 0x00000000012c3910 in mongo::mr::MapReduceCommand::run (this=0x28396c0 <mongo::mr::mapReduceCommand>, txn=0x7ffff7fcb7b0, dbname=..., cmd=..., errmsg=..., result=..., fromRepl=false) at src/mongo/db/commands/mr.cpp:1465 #6 0x0000000001323415 in mongo::_execCommand (txn=0x7ffff7fcb7b0, c=0x28396c0 <mongo::mr::mapReduceCommand>, dbname=..., cmdObj=..., queryOptions=0, errmsg=..., result=..., fromRepl=false) at src/mongo/db/dbcommands.cpp:1256 #7 0x0000000001324392 in mongo::Command::execCommand (txn=0x7ffff7fcb7b0, c=0x28396c0 <mongo::mr::mapReduceCommand>, queryOptions=0, cmdns=0x33b6414 "test.$cmd", cmdObj=..., result=..., fromRepl=false) at src/mongo/db/dbcommands.cpp:1472 #8 0x0000000001324c74 in mongo::_runCommands (txn=0x7ffff7fcb7b0, ns=0x33b6414 "test.$cmd", _cmdobj=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/dbcommands.cpp:1547 #9 0x00000000015272b4 in mongo::runCommands (txn=0x7ffff7fcb7b0, ns=0x33b6414 "test.$cmd", jsobj=..., curop=..., b=..., anObjBuilder=..., fromRepl=false, queryOptions=0) at src/mongo/db/query/find.cpp:131 #10 0x0000000001529040 in mongo::runQuery (txn=0x7ffff7fcb7b0, m=..., q=..., curop=..., result=..., fromDBDirectClient=false) at src/mongo/db/query/find.cpp:565 #11 0x000000000142f0ed in mongo::receivedQuery (txn=0x7ffff7fcb7b0, c=..., dbresponse=..., m=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:224 #12 0x00000000014301ff in mongo::assembleResponse (txn=0x7ffff7fcb7b0, m=..., dbresponse=..., remote=..., fromDBDirectClient=false) at src/mongo/db/instance.cpp:394 #13 0x000000000113310a in mongo::MyMessageHandler::process (this=0x307c1e8, m=..., port=0x30ab5c0, le=0x33c01e0) at src/mongo/db/db.cpp:195 #14 0x00000000018c3949 in mongo::PortMessageServer::handleIncomingMsg (arg=0x30942b0) at src/mongo/util/net/message_server_port.cpp:234 #15 0x00007ffff7bc4182 in start_thread (arg=0x7ffff7fcc700) at pthread_create.c:312 #16 0x00007ffff6cc4efd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
- is related to
-
SERVER-2861 MapReduce returns undefined _id
- Closed