Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
Query
-
ALL
Description
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.