Getting intermittent 500 errors

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting intermittent 500 errors

Ben Myles
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
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|

Re: Getting intermittent 500 errors

Kevin Smith-5
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
> [hidden email]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com