ETS lookup failures

István leccine at gmail.com
Tue Jul 1 01:20:51 EDT 2014


I am wondering why this might be happening when I am trying to delete
a bunch of keys from this bucket.

Bucket: <<"60-1393657839507">>

2014-06-30 17:43:59 =SUPERVISOR REPORT====
     Supervisor: {<0.930.0>,poolboy_sup}
     Context:    child_terminated
     Reason:
{badarg,[{ets,lookup,[ets_riak_core_ring_manager,{bucket,<<"60-1393657839507">>}],[]},{riak_core_ring_manager,get_bucket_meta,1,[{file,"src/riak_core_ring_manager.erl"},{line,179}]},{riak_core_bucket,get_bucket,1,[{file,"src/riak_core_bucket.erl"},{line,101}]},{riak_kv_util,get_index_n,1,[{file,"src/riak_kv_util.erl"},{line,170}]},{riak_kv_index_hashtree,'-object_fold_fun/1-fun-0-',4,[{file,"src/riak_kv_index_hashtree.erl"},{line,435}]},{riak_kv_index_hashtree,'-fold_fun/2-fun-1-',5,[{file,"src/riak_kv_index_hashtree.erl"},{line,427}]},{eleveldb,fold_loop,4,[{file,"src/eleveldb.erl"},{line,316}]},{eleveldb,do_fold,4,[{file,"src/eleveldb.erl"},{line,303}]}]}
     Offender:
[{pid,<0.935.0>},{name,riak_core_vnode_worker},{mfargs,{riak_core_vnode_worker,start_link,undefined}},{restart_type,temporary},{shutdown,5000},{child_type,worker}]

    heap_size: 2584
    stack_size: 24
    reductions: 2300913061
  neighbours:
2014-06-30 18:24:11 =SUPERVISOR REPORT====
     Supervisor: {<0.976.0>,poolboy_sup}
     Context:    child_terminated
     Reason:
{badarg,[{ets,lookup,[ets_riak_core_ring_manager,{bucket,<<"60-1393657839507">>}],[]},{riak_core_ring_manager,get_bucket_meta,1,[{file,"src/riak_core_ring_manager.erl"},{line,179}]},{riak_core_bucket,get_bucket,1,[{file,"src/riak_core_bucket.erl"},{line,101}]},{riak_kv_util,get_index_n,1,[{file,"src/riak_kv_util.erl"},{line,170}]},{riak_kv_index_hashtree,'-object_fold_fun/1-fun-0-',4,[{file,"src/riak_kv_index_hashtree.erl"},{line,435}]},{riak_kv_index_hashtree,'-fold_fun/2-fun-1-',5,[{file,"src/riak_kv_index_hashtree.erl"},{line,427}]},{eleveldb,fold_loop,4,[{file,"src/eleveldb.erl"},{line,316}]},{eleveldb,do_fold,4,[{file,"src/eleveldb.erl"},{line,303}]}]}
     Offender:
[{pid,<0.977.0>},{name,riak_core_vnode_worker},{mfargs,{riak_core_vnode_worker,start_link,undefined}},{restart_type,temporary},{shutdown,5000},{child_type,worker}]

     Context:    child_terminated
     Reason:
{badarg,[{ets,lookup,[ets_riak_core_ring_manager,{bucket,<<"60-1393657839507">>}],[]},{riak_core_ring_manager,get_bucket_meta,1,[{file,"src/riak_core_ring_manager.erl"},{line,179}]},{riak_core_bucket,get_bucket,1,[{file,"src/riak_core_bucket.erl"},{line,101}]},{riak_kv_util,get_index_n,1,[{file,"src/riak_kv_util.erl"},{line,170}]},{riak_kv_index_hashtree,'-object_fold_fun/1-fun-0-',4,[{file,"src/riak_kv_index_hashtree.erl"},{line,435}]},{riak_kv_index_hashtree,'-fold_fun/2-fun-1-',5,[{file,"src/riak_kv_index_hashtree.erl"},{line,427}]},{eleveldb,fold_loop,4,[{file,"src/eleveldb.erl"},{line,316}]},{eleveldb,do_fold,4,[{file,"src/eleveldb.erl"},{line,303}]}]}
     Offender:
[{pid,<0.1450.0>},{name,riak_core_vnode_worker},{mfargs,{riak_core_vnode_worker,start_link,undefined}},{restart_type,temporary},{shutdown,5000},{child_type,worker}]

2014-06-30 18:21:30 =SUPERVISOR REPORT====
     Supervisor: {<0.1501.0>,poolboy_sup}
     Context:    child_terminated
     Reason:
{badarg,[{ets,lookup,[ets_riak_core_ring_manager,{bucket,<<"60-1393657839507">>}],[]},{riak_core_ring_manager,get_bucket_meta,1,[{file,"src/riak_core_ring_manager.erl"},{line,179}]},{riak_core_bucket,get_bucket,1,[{file,"src/riak_core_bucket.erl"},{line,101}]},{riak_kv_util,get_index_n,1,[{file,"src/riak_kv_util.erl"},{line,170}]},{riak_kv_index_hashtree,'-object_fold_fun/1-fun-0-',4,[{file,"src/riak_kv_index_hashtree.erl"},{line,435}]},{riak_kv_index_hashtree,'-fold_fun/2-fun-1-',5,[{file,"src/riak_kv_index_hashtree.erl"},{line,427}]},{eleveldb,fold_loop,4,[{file,"src/eleveldb.erl"},{line,316}]},{eleveldb,do_fold,4,[{file,"src/eleveldb.erl"},{line,303}]}]}
     Offender:
[{pid,<0.1505.0>},{name,riak_core_vnode_worker},{mfargs,{riak_core_vnode_worker,start_link,undefined}},{restart_type,temporary},{shutdown,5000},{child_type,worker}]

Has anybody seen something like that before?

-- 
the sun shines for all




More information about the riak-users mailing list