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

feat: support dynamic retry backoff values #793

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

daniel-sanche
Copy link
Contributor

This PR moves backoff generation until after an rpc is complete and on_error callbacks have been called. This gives the client a chance to change what backoff value is used based on the error details.

This feature is required for Bigtable, where the backend can send retry_info packets to inform the client on how long to wait before a retry

Fixes #792

@daniel-sanche daniel-sanche requested review from a team as code owners February 14, 2025 00:36
@product-auto-label product-auto-label bot added the size: m Pull request size is medium. label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Retry should generate sleep time after attempt
2 participants