I am trying to set the default n_val in my app.config.  I'm not
getting any errors on startup but when a client tries to put some data
a process crashes eventually causing a time-out on the client side...

app.config part:

[
 %% Riak Core config
 {riak_core, [
              %% Default location of ringstate
              {ring_state_dir, "data/ring"},

              %% Default bucket props
              {default_bucket_props, [{n_val, 1}]},


I'm seeing the following in the logs:

sasl-error.log:

=CRASH REPORT==== 28-Apr-2010::15:36:22 ===
  crasher:
    initial call: riak_kv_put_fsm:init/1
    pid: <0.505.0>
    registered_name: []
    exception exit: {undef,[{riak_core_bucket,defaults,[]},
                            {riak_core_util,chash_key,1},
                            {riak_kv_put_fsm,initialize,2},
                            {gen_fsm,handle_msg,7},
                            {proc_lib,init_p_do_apply,3}]}
      in function  gen_fsm:terminate/7
    ancestors: [<0.504.0>]
    messages: []
    links: []
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 1597
    stack_size: 24
    reductions: 475
  neighbours:

erlang.log.1

=ERROR REPORT==== 28-Apr-2010::15:36:22 ===
** State machine <0.503.0> terminating
** Last event in was timeout
** When State == initialize
**      Data  == {state,
                     {r_object,<<"profiles">>,<<"DymvhHkDplIEmpowMdQ35Q">>,
                         [{r_content,
                              {dict,0,16,16,8,80,48,
                                  {[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                   [],[]},
                                  {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                                    [],[]}}},
                              <<>>}],
                         [{<<31,41,45,38>>,{1,63439684582}}],
                         {dict,1,16,16,8,80,48,
                             {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
                             {{[],[],[],[],[],[],[],[],[],[],
                               [[<<"content-type">>,97,112,112,108,105,99,97,
                                 116,105,111,110,47,111,99,116,101,116,45,115,
                                 116,114,101,97,109]],
                               [],[],[],[],[]}}},
                         <<4,155,69,121,249,86,125,168,81,201,133,2,65,248,
                           238,53,23,1,40,242,226,220,30,37,113,164,204,34,
                           199,41,155,198,77,100,101,234,83,233,181,96,207,10,
                           ...lots more data...
** Reason for termination =
** {'function not exported',[{riak_core_bucket,defaults,[]},
                             {riak_core_util,chash_key,1},
                             {riak_kv_put_fsm,initialize,2},
                             {gen_fsm,handle_msg,7},
                             {proc_lib,init_p_do_apply,3}]}



--Matthew

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to