Javascript count of keys using mapreduce gives different counts

kpandey kumar.pandey at
Fri Jul 19 21:47:59 EDT 2013

I'm using javascript map reduce to count keys on a bucket with memory
backend.  Count seem to randomly increase or decrease on subsequent call
when no new data is inserted. Call is hitting the same instance in a
Any idea why this might be happening

Each count request is made in few seconds interval using http post like so

curl -XPOST http://xxxxxxxxxx:8098/mapred -H 'Content-Type:
application/json' -d '
                  "source":"function(riakobj) {return [1]; }"}},


View this message in context:
Sent from the Riak Users mailing list archive at

More information about the riak-users mailing list