-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: MapReduce
-
Query
-
ALL
db.coll.mapReduce(map, reduce, { out: { replace: outColl, sharded: true } });
The result of the above mapReduce operation is written to an unsharded collection on the connected shard. Should instead abort operation and display a message telling the user to run mapReduce with sharded option on mongos.