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

Use nice-grpc-client-middleware-retry for auto-retry of UNAVAILABLE grpc error #217

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

tsmith023
Copy link
Contributor

@tsmith023 tsmith023 commented Oct 25, 2024

Closes #212

Instead of using custom grpc keep alive options, as was attempted in #216, which may not be fully generalisable to all cases, this PR introduces nice-grpc-client-middleware-retry to instead simply retry any UNAVAILABLE errors with exponential backoff and N=5 in the hope that such transient errors go away

@tsmith023 tsmith023 changed the title Use nice-grpc-retry-middleware for auto-retry of UNAVAILABLE grpc error Use nice-grpc-client-middleware-retry for auto-retry of UNAVAILABLE grpc error Oct 25, 2024
@tsmith023 tsmith023 merged commit b36d1fb into main Oct 25, 2024
8 checks passed
@tsmith023 tsmith023 deleted the grpc/add-retry-middleware-for-unavailable branch October 25, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate ECONNRESET when running in k8s
2 participants