Getting intermittent 500 errors

Kevin Smith ksmith at basho.com
Fri Feb 26 16:39:50 EST 2010


Ben -

Thanks for your bug report. As a result we've found a timing-related bug in the way Riak handles PUT requests with returnbody enabled. The root cause of the bug and the way to fix it are documented in bug #52 in the Riak bugzilla: https://issues.basho.com/show_bug.cgi?id=52

In the meantime you can work around the bug by turning off returnbody on PUTs and issuing a separate GET to retrieve the data.

--Kevin
On Feb 26, 2010, at 2:55 PM, Ben Myles wrote:

> I've got a test case where I create and delete an object 1000 times.
> Each time it has the same key. Every time I run it I'll get a few 500
> errors on storing the objects after destroy. Usually when I get a 500
> error I can retry the request and it works, but not always. I packaged
> up my test output, riak console output and the ruby code you can use
> to (hopefully) reproduce here: http://drop.io/sywtw1u. Inside the
> archive see riak_raw/TEST_OUTPUT.log and riak_raw/RIAK_OUTPUT.log.
> 
> Thanks!
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list