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

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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.5.2
    • Component/s: MapReduce, Sharding
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: