-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RObject#store randomly fails #141
Comments
There is another missing protocol buffer error; it seems the server is returning an unexpected protocolBuffer msg, which triggers the following exception:
between this and the above, we are seeing an explosion of riak errors as our usage goes up. It is definitely becoming a stability issue. We hacked riak/client.rb to retry these issues, and that seems to help. but I wanted to pass this along as an FYI. thanks, |
The unexpected protobuffs message is being handled as a ruby-client 2.0 improvement. The low-probability failures are another story; we've had other users report it, but not enough information to trace down their cause :( |
Closing for now; I don't believe this is a client issue. |
We are sending 100ks of requests to riak and 4-10 of them randomly fail with protocol buffer errors. here is a recent example:
Beefcake::Message::WrongTypeError: Wrong type
7given for (content). Expected 2
recover_from
doesn't retry these sorts of errors. We've never been able to recreate in any meaningful way. On staging we can recreate but there is no rhyme or reason, and the same request will succeed if retried.Any thoughts on what is going on? In the short term we are patching the recover_from to retry these sort of Beefcake exceptions. I'm not very familiar with beefcake; if you can point me in the right direction (esp. if it is client-side) I can run from there and submit a PR.
The text was updated successfully, but these errors were encountered: