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

[Pre-1.0 Semantics Change] Support Fail-fast and make it the default setup #738

Merged
merged 8 commits into from
Jul 8, 2016

Conversation

iamqizhao
Copy link
Contributor

This is consistent with what gRPC C/C++ does. For the definition of fail-fast, please refer to https://github.com/grpc/grpc/blob/master/doc/fail_fast.md for detail.

Once this pull request is in, it might break your project because by default gRPC internals stops retrying on the network errors. You can simply add grpc.FailFast(false) into your unary/streaming RPC call as a grpc.CallOption to fix the problem.

Sorry for the semantics change.

}
// All the remaining cases are treated as retryable.
continue
// ALl the other errors are treated as Internal errors.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

capitalization here is weird

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants