-
Notifications
You must be signed in to change notification settings - Fork 71
crdb: Add ExecuteCtx for configurable retry limits #180
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
Conversation
Adds ExecuteCtx which allows configuring maximum retries through context, alongside the existing Execute function. This enables better control over retry behavior while maintaining compatibility with code using the original Execute. The new function helps prevent infinite retry loops in environments where bounded retry counts are required, while preserving the existing error handling and retry semantics.
Dropping CI for 1.19, 1.20, and 1.21.
81016d5
to
c5c9883
Compare
Also, FYI re: the reason for the toolchain bumping and limiting the Go support matrix is because various tools were segfaulting on older versions of Go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 3 files at r4, 1 of 1 files at r9, 2 of 2 files at r11.
Reviewable status:complete! 0 of 0 LGTMs obtained (waiting on @sean-)
Adds ExecuteCtx which allows configuring maximum retries through context, alongside the existing Execute function. This enables better control over retry behavior while maintaining compatibility with code using the original Execute.
The new function helps prevent infinite retry loops in environments where bounded retry counts are required, while preserving the existing error handling and retry semantics.