[SERVER-7868] Map/Reduce Does not run on secondaries in a sharded/replica-set configuration Created: 07/Dec/12 Updated: 07/Dec/12 Resolved: 07/Dec/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 2.2.0, 2.2.1, 2.2.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Robert Moore | Assignee: | Gianfranco Palumbo |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
$ uname -a |
||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Operating System: | Linux | ||||||||||||||||||||
| Steps To Reproduce: | Start a cluster with a atleast two replica sets in a sharded configuration. |
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
It appears that Map/Reduce using a readPreference of secondary is not being routed to the secondary servers by the Mongos. In the attached mongostat output you can clearly see that the bulk of the commands are being issued to the primary servers instead of the secondaries. |
| Comments |
| Comment by Gianfranco Palumbo [ 07/Dec/12 ] |
|
Reproduced and it's working on 2.3.1 |
| Comment by Adam Comerford [ 07/Dec/12 ] |
|
Robert, As discussed elsewhere, this looks like a dupe of Adam |