-
Type:
Bug
-
Resolution: Done
-
Priority:
Minor - P4
-
None
-
Affects Version/s: 2.4.12, 2.6.7, 3.0.0-rc8
-
Component/s: MapReduce
-
Query
-
ALL
-
-
None
-
0
-
None
-
None
-
None
-
None
-
None
-
None
A mapReduce command that specifies a 'reduce' output action against a collection without an _id index will fail with an massert.
The root cause is a Helpers::findOne call that requires the use of an index: https://github.com/mongodb/mongo/blob/r3.0.0-rc8/src/mongo/db/commands/mr.cpp#L644-L648
Error message:
Assertion: 17245:Could not get executor for query { _id: 1.0 }