Skip to content

Instantly share code, notes, and snippets.

@ksauzz
Created April 30, 2013 10:37
Show Gist options
  • Select an option

  • Save ksauzz/5487913 to your computer and use it in GitHub Desktop.

Select an option

Save ksauzz/5487913 to your computer and use it in GitHub Desktop.
redbug
([email protected])70> redbug:start({riak_kv_put_fsm,start_link,[return, stack]},[{time,5000},{msgs,1},{max_msg_size,10000000}]).
ok

19:36:59 <{mochiweb_acceptor,init,3}> {riak_kv_put_fsm,start_link,
                                       [{raw,114183653,<0.11762.0>},
                                        {r_object,<<"bucket">>,<<"key1">>,
                                         [{r_content,
                                           {dict,7,16,16,8,80,48,
                                            {[],[],[],[],[],[],[],[],[],[],[],
                                             [],[],[],[],[]},
                                            {{[],[],
                                              [[<<"Links">>]],
                                              [],[],[],[],[],[],[],
                                              [[<<"content-type">>,97,112,112,
                                                108,105,99,97,116,105,111,110,
                                                47,106,115,111,110],
                                               [<<"X-Riak-VTag">>,51,69,53,53,
                                                116,76,65,112,69,100,88,83,77,
                                                97,51,48,86,84,88,51,90,102]],
                                              [[<<"index">>]],
                                              [],
                                              [[<<"X-Riak-Last-Modified">>|
                                                {1367,318213,142994}]],
                                              [],
                                              [[<<"charset">>,117,116,102,45,
                                                56],
                                               [<<"X-Riak-Meta">>]]}}},
                                           <<"{\"name\": \"alice\", \"age\": \"15\"}">>}],
                                         [],
                                         {dict,5,16,16,8,80,48,
                                          {[],[],[],[],[],[],[],[],[],[],[],
                                           [],[],[],[],[]},
                                          {{[],[],
                                            [[<<"Links">>]],
                                            [],[],[],[],[],[],[],
                                            [[<<"content-type">>,97,112,112,
                                              108,105,99,97,116,105,111,110,
                                              47,106,115,111,110]],
                                            [[<<"index">>]],
                                            [],[],[],
                                            [[<<"charset">>,117,116,102,45,56],
                                             [<<"X-Riak-Meta">>]]}}},
                                         <<"{\"name\": \"alice\", \"age\": \"15\"}">>},
                                        [{w,default},
                                         {dw,default},
                                         {pw,default},
                                         {timeout,60000}]]}
  "proc_lib:init_p_do_apply/3 "
  "mochiweb_http:parse_headers/5 "
  "webmachine_mochiweb:loop/1 "
  "webmachine_decision_core:handle_request/2 "
  "webmachine_decision_core:decision/1 "
  "webmachine_decision_core:accept_helper/0 "
  "webmachine_decision_core:resource_call/1 "
  "webmachine_resource:do/3 "
  "webmachine_resource:resource_call/3 "
  "riak_kv_wm_object:accept_doc_body/2 "
quitting: msg_count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment