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

MapReduce ignores 'sharded' option when connected to mongod

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Gone away
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: MapReduce
    • Operating System:
      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

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

              Dates

              Created:
              Updated:
              Resolved: