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

MapReduce ignores 'sharded' option when connected to mongod

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: