Failed to calculate stat

Russell Brown russell.brown at mac.com
Thu Jul 4 07:30:08 EDT 2013


Hi,
That warning means that riak failed to calculate the leveldb read block error count stat.

This is caused by a bug fixed in 1.3.2. The stat code picks a random vnode from 1 to num_partitions on the node and asks it for the read block error stat. If your node has 1 or fewer partitions this error occurs.

It is an edge case, but one that people seem to hit from time to time. As I said, fixed for 1.3.2 and .1.4, as far as I know: what version of Riak are you running when you see this?

Cheers

Russell

On 4 Jul 2013, at 05:31, fenix.serega at gmail.com wrote:

> Hi
> 
> What does it mean !?
> 
> On newly installed node after joining to cluster in log:
> 
> ....
> 2013-07-04 11:24:58.733 [warning] <0.4686.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:03.762 [warning] <0.4742.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:08.790 [warning] <0.5057.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:13.811 [warning] <0.5093.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:18.828 [warning] <0.5228.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:23.847 [warning] <0.5435.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:28.868 [warning] <0.5754.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:33.894 [warning] <0.5787.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:38.921 [warning] <0.6027.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:43.943 [warning] <0.6062.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:48.971 [warning] <0.6301.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:53.990 [warning] <0.6335.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:25:58.007 [warning] <0.6588.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:26:03.037 [warning] <0.6625.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:26:08.058 [warning] <0.6834.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:26:13.082 [warning] <0.6870.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:26:18.104 [warning] <0.7080.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:26:23.126 [warning] <0.7114.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> 2013-07-04 11:26:28.142 [warning] <0.7370.0>@riak_core_stat_q:log_error:123 Failed to calculate stat {riak_kv,vnode,backend,leveldb,read_block_error} with error:badarg
> ...
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list