counting the keys

thomas.bikeev thomas.bikeev at mac.com
Mon Nov 14 09:41:18 EST 2011


Oops, actually I do get the following in the monitor:

Does it mean that loose consistency because of low mem / resources?


1> 14:21:00.395 [info] monitor long_gc <0.13156.5> [{initial_call,{riak_core_vnode_worker_pool,init,1}},{almost_current_function,{gen_fsm,loop,7}}] [{timeout,57},{old_heap_block_size,0},{heap_block_size,610},{mbuf_size,0},{stack_size,10},{old_heap_size,0},{heap_size,184}]
14:21:00.455 [info] monitor long_gc <0.609.0> [{initial_call,{riak_core_vnode_worker_pool,init,1}},{almost_current_function,{gen_fsm,loop,7}}] [{timeout,56},{old_heap_block_size,0},{heap_block_size,610},{mbuf_size,0},{stack_size,10},{old_heap_size,0},{heap_size,184}]
14:21:00.461 [info] monitor long_gc <0.13023.5> [{initial_call,{riak_core_vnode_worker_pool,init,1}},{almost_current_function,{gen_fsm,loop,7}}] [{timeout,57},{old_heap_block_size,0},{heap_block_size,610},{mbuf_size,0},{stack_size,10},{old_heap_size,0},{heap_size,184}]


( restarted instance, run query again)


1> 14:36:20.146 [info] alarm_handler: {set,{system_memory_high_watermark,[]}}






On Nov 14, 2011, at 03:29 PM, "thomas.bikeev" <thomas.bikeev at mac.com> wrote:

> Hello list,
>
> I am having troubles getting consistent results while counting keys in a small bucket containing +-33k objects. I do use secondary indexes: i.e:
>
> query = client.index(name,"$key",key_start, key_end)
> query.run()
>
> The final count is never the same being off +/- 100 records, I also tried slicing the (hashed) keys and get count of the keys in the slices varying most of the time. Cluster consists of 3 2GB linode VMs running Riak 1.0.1
>
> At the moment of querying there is no other activity that happens in the cluster, there is no ongoing transfers and riak console is clean as well.
>
> Is there anything that I am missing?
>
> Regards, Thomas
>
>
> Run 1:
>
> 0 1 2140
> 1 2 2072
> 2 3 2063
> 3 4 2004
> etc
> Total: 32915
>
> 0 1 2134
> 1 2 2065
> 2 3 2071
> 3 4 1999
> etc
> Total: 32874
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20111114/587a2118/attachment.html>


More information about the riak-users mailing list