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

XMLWordPrintableJSON

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

      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
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: