-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recover gRPC channel from connection dropouts. (#1406)
- check and recover channel connection in `TryRecovery()` - fixes an infinite loop in the unlimited retry strategy by adding `grpc::UNAVAILABLE`, `DEADLINE_EXCEEDED` to the unrecoverable status codes. - server restart leads to `UNAVAILABLE` - connection loss leads to `DEADLINE_EXCEEDED` - fixes repeated recovery attempts
- Loading branch information
1 parent
153952d
commit b1dfa30
Showing
1 changed file
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters