[SERVER-11217] The mapReduce command should accept new name "mapReduce" on mongos Created: 16/Oct/13  Updated: 10/Dec/14  Resolved: 16/Oct/13

Status: Closed
Project: Core Server
Component/s: MapReduce, Sharding
Affects Version/s: 2.5.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-5588 mapReduce and eval not recognized by ... Closed
Related
Operating System: ALL
Participants:

 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.



 Comments   
Comment by J Rassi [ 16/Oct/13 ]

Dup of SERVER-5588.

Generated at Thu Feb 08 03:25:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.