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

The mapReduce command should accept new name "mapReduce" on mongos

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 2.5.2
    • MapReduce, Sharding
    • ALL

    Description

      In the doc about mapReduce command, "mapReduce", rather than "mapreduce", is used everywhere. On mongod both names work well, since the code accepts both. But on mongos only "mapreduce" works here in the code, giving

      { "ok" : 0, "errmsg" : "no such cmd: mapReduce", "code" : 59 }

      If a user alway uses mapReduce() helper, this issue will not be noticed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: