Skip to content
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

Resolve 2I timeout error from case clause #379

Merged
merged 1 commit into from
Aug 22, 2012

Conversation

seancribbs
Copy link
Contributor

Neither the HTTP nor the PB interfaces match the {error, timeout, Acc} return value of riak_client:wait_for_query_results/3 that results from a receive timeout. This case is difficult to reach except in the case of a heavily loaded cluster, which is why it has not been hit before.

This changes the return value on timeout to be simply {error, timeout}. Partial results from a timed out request could be of dubious value and correctness, so the simplest solution is not to return them.

@ghost ghost assigned seancribbs Aug 15, 2012
@ghost ghost assigned reiddraper Aug 22, 2012
@reiddraper
Copy link
Contributor

Welp, I'm having all sorts of fun running the kv eunit tests, but this looks good to me. +1

@ghost ghost assigned seancribbs Aug 22, 2012
seancribbs pushed a commit that referenced this pull request Aug 22, 2012
Resolve 2I timeout error from case clause
@seancribbs seancribbs merged commit 917fc02 into 1.2 Aug 22, 2012
@travisbot
Copy link

This pull request fails (merged 8155934 into 5a4071c).

@seancribbs seancribbs deleted the sdc-2i-timeout-case-clause branch April 1, 2015 23:18
@seancribbs seancribbs removed their assignment May 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants