[SERVER-2761] Confusing Map / Reduce output when sharded Created: 15/Mar/11 Updated: 12/Jul/16 Resolved: 13/Jun/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 1.8.0-rc2 |
| Fix Version/s: | 1.9.1 |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Gaetan Voyer-Perrault | Assignee: | Antoine Girbal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Any |
||
| Participants: |
| Description |
|
In a sharded environment, the output of the "mapreduce" command is confusing. Following is a map-reduce that generates a "tags" collection. That "tags" collection contains 5077 documents. Problems: ====== ); , , , , , }, , } Associated groups question: |
| Comments |
| Comment by Antoine Girbal [ 13/Jun/11 ] |
|
Fixed:
{ "result" : "mroutputshard" , , , |
| Comment by Antoine Girbal [ 13/Jun/11 ] |
|
the "counts" object is just the sum of same fields from each shard. |