[SERVER-1624] incrementing longs in group results in NaN Created: 12/Aug/10 Updated: 13/Sep/10 Resolved: 13/Sep/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kristina Chodorow (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Participants: |
| Description |
|
If initial is something like {count : 0L}and the reduce is out.count++, you end up with NaN: { "retval" : [ { "tag" : "A" , "count" : NaN}, { "tag" : "B" , "count" : NaN}, { "tag" : "C" , "count" : NaN}] , "count" : 5.0 , "keys" : 3 , "ok" : 1.0} |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 13/Sep/10 ] |