Hi Michael,

These errors are almost certainly harmless and being thrown when empty,
non-owned vnodes get shut down.

It appears that in some cases, the underlying ets table might already be
deleted/GC'd by the time BackendModule:stop tries to explicitly delete it.
 I've opened this bug to track the issue:
http://issues.basho.com/show_bug.cgi?id=723

- Andy

--
Andy Gross <[email protected]>
VP, Engineering
Basho Technologies, Inc.
http://basho.com




On Thu, Sep 16, 2010 at 3:59 PM, Michael Colussi <[email protected]> wrote:

>
> Hey guys I have an application using Riak 0.12 that does puts, gets, and
> updates.  It works fine but I get these random error reports in my logs.
>  Any ideas?
>
> ERROR <0.149.0> ** Generic server <0.149.0> terminating
> ** Last message in was stop
> ** When Server state == {state,139315}
> ** Reason for termination ==
> ** {badarg,[{ets,delete,[139315]},
>             {riak_kv_ets_backend,srv_stop,1},
>             {riak_kv_ets_backend,handle_call,3},
>             {gen_server,handle_msg,5},
>             {proc_lib,init_p_do_apply,3}]}
> ERROR <0.149.0> crash_report [[{initial_call,
>
>  {riak_kv_ets_backend,init,['Argument__1']}},
>                                {pid,<0.149.0>},
>                                {registered_name,[]},
>                                {error_info,
>                                 {exit,
>                                  {badarg,
>                                   [{ets,delete,[139315]},
>                                    {riak_kv_ets_backend,srv_stop,1},
>                                    {riak_kv_ets_backend,handle_call,3},
>                                    {gen_server,handle_msg,5},
>                                    {proc_lib,init_p_do_apply,3}]},
>                                  [{gen_server,terminate,6},
>                                   {proc_lib,init_p_do_apply,3}]}},
>                                {ancestors,
>
>  [<0.148.0>,riak_core_vnode_sup,riak_core_sup,
>                                  <0.58.0>]},
>                                {messages,[]},
>                                {links,[<0.148.0>]},
>                                {dictionary,[]},
>                                {trap_exit,false},
>                                {status,running},
>                                {heap_size,377},
>                                {stack_size,24},
>                                {reductions,243}],
>                               []]
>  ERROR <0.148.0> ** State machine <0.148.0> terminating
> ** Last event in was timeout
> ** When State == active
> **      Data  == {state,159851741583067506678528028578343455274867621888,
>                         riak_kv_vnode,
>
>  {state,159851741583067506678528028578343455274867621888,
>                                riak_kv_ets_backend,<0.149.0>,
>                                {kv_lru,100,147509,143412,151606},
>                                {dict,0,16,16,8,80,48,
>
> {[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                       [],[],[]},
>
> {{[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                        [],[],[]}}},
>                                true},
>                         undefined,none}
> ** Reason for termination =
> ** {{badarg,[{ets,delete,[139315]},
>              {riak_kv_ets_backend,srv_stop,1},
>              {riak_kv_ets_backend,handle_call,3},
>              {gen_server,handle_msg,5},
>              {proc_lib,init_p_do_apply,3}]},
>     {gen_server,call,[<0.149.0>,stop]}}
> ERROR <0.148.0> crash_report [[{initial_call,
>                                 {riak_core_vnode,init,['Argument__1']}},
>                                {pid,<0.148.0>},
>                                {registered_name,[]},
>                                {error_info,
>                                 {exit,
>                                  {{badarg,
>                                    [{ets,delete,[139315]},
>                                      {riak_kv_ets_backend,srv_stop,1},
>                                     {riak_kv_ets_backend,handle_call,3},
>                                     {gen_server,handle_msg,5},
>                                     {proc_lib,init_p_do_apply,3}]},
>                                   {gen_server,call,[<0.149.0>,stop]}},
>                                  [{gen_fsm,terminate,7},
>                                   {proc_lib,init_p_do_apply,3}]}},
>                                {ancestors,
>
>  [riak_core_vnode_sup,riak_core_sup,<0.58.0>]},
>                                {messages,
>                                 [{'EXIT',<0.149.0>,
>                                   {badarg,
>                                    [{ets,delete,[139315]},
>                                     {riak_kv_ets_backend,srv_stop,1},
>                                     {riak_kv_ets_backend,handle_call,3},
>                                     {gen_server,handle_msg,5},
>                                     {proc_lib,init_p_do_apply,3}]}}]},
>                                {links,[<0.60.0>]},
>                                {dictionary,[]},
>                                {trap_exit,true},
>                                {status,running},
>                                {heap_size,377},
>                                {stack_size,24},
>                                {reductions,952}],
>                               []]
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to