Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-10797

MapReduce ignores 'sharded' option when connected to mongod

    • 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.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            phillip.quiza Phillip Quiza
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: