riak_client:list_buckets() and innostore_riak backend

Rajiv M Ranganath rajiv.ranganath at gmail.com
Wed May 19 21:42:16 EDT 2010


Hi,

I was trying to learn riak and seem to have stumbled upon a bug when
using Client:list_buckets() method and innostore_riak

I was basically following the examples listed in,

http://riak.basho.com/edoc/basic-client.txt

After step 5, I did - Client:list_buckets().

With riak_kv_dets_backend, it worked fine, and I received the following
output.

(dev1 at 127.0.0.1)5> Client:list_buckets().
{ok,[<<"groceries">>]}

However, when I tried to do the same things with a innostore_riak
backend, the command freezes with the following error.

(dev1 at 127.0.0.1)4> Client:list_buckets().

=ERROR REPORT==== 19-May-2010::18:37:58 ===
** State machine <0.125.0> terminating
** Last event in was {list_bucket,<0.202.0>,'_',76693232}
** When State == active
** Data == {state,22835963083295358096932575511191922182123945984,[],
innostore_riak,

{state,<<"_22835963083295358096932575511191922182123945984">>,
#Port<0.2932>},
not_in_handoff,undefined}
** Reason for termination =
** {badarg,[{innostore_riak,list_bucket,2},
{riak_kv_vnode,do_list_bucket,6},
{riak_kv_vnode,active,2},
{gen_fsm,handle_msg,7},
{proc_lib,init_p_do_apply,3}]}

Please let me know if you need more information.

Best,
Rajiv





More information about the riak-users mailing list