Hey all,

I've got a mysterious error with Riak. Certain writes seem to result in an 
interesting error being raised by the coordinating node (rem, I'm assuming it's 
the coordinating node):

webmachine error: path="/buckets/my_bucket/keys"
{error,{error,{badmatch,{error,closed}},
                                                
[{webmachine_request,recv_unchunked_body,4,[{file,"src/webmachine_request.erl"},{line,418}]},
                                                
{webmachine_request,do_recv_body,2,[{file,"src/webmachine_request.erl"},{line,377}]},
                                                
{webmachine_request,call,2,[{file,"src/webmachine_request.erl"},{line,149}]},
                                                
{wrq,req_body,1,[{file,"src/wrq.erl"},{line,112}]},
                                                
{riak_kv_wm_object,accept_doc_body,2,[{file,"src/riak_kv_wm_object.erl"},{line,595}]},
                                                
{webmachine_resource,resource_call,3,[{file,"src/webmachine_resource.erl"},{line,169}]},
                                                
{webmachine_resource,do,3,[{file,"src/webmachine_resource.erl"},{line,128}]},
                                                
{webmachine_decision_core,resource_call,1,[{file,"src/webmachine_decision_core.erl"},{line,48}]}]}

Web machine returns a 500 error when this happens. I saw online that this could 
be the result of a socket being closed out from under the connection [1]. Any 
idea how I can get to the bottom of this? Due to the nature of the reproduction 
steps, I don't have access to the payload causing the crash 'till it's actually 
*in* Riak. Someone in #riak on IRC suggested that this could be the result of 
write timeouts. Ideas?

Thanks,

Brad Heller

1: 
http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-October/006078.html
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to