-
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
Add a socket timeout option to handle lingering socket requests on transitioning or mixed state nodes [JIRA: CLIENTS-624] #91
Comments
Thank you for the bug report @mk1s. Implementation detail:
|
We added PB timeout support to our custom fork of riak-ruby-client: We will send pull requests soon, but need some time to rebase our fork against the current master. |
+1 to get this merged upstream |
I created a PR for setting custom socket timeouts: #265 |
Will be resolved by #270 |
There have been several recent problems with nodes in various states transition whether it be physical or service(Riak) being up where the riak-ruby-client will try and connect for upwards of 60s or more, until if fails and tries the next node in the node list. Some sites have been able to fix this by tweaking DNS. Suggested recommendation was to add an option to define a socket level timeout to provide more predictable behavior.
The text was updated successfully, but these errors were encountered: