[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: Java Source File Tester.java    
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 ]

SERVER-1457

Generated at Thu Feb 08 02:57:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.