-
Notifications
You must be signed in to change notification settings - Fork 78
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: add MaxRetires config to cos, gcs and obs #147
Conversation
Signed-off-by: Ashwanth Goli <[email protected]>
Signed-off-by: Ashwanth Goli <[email protected]>
61bb8b2
to
220d250
Compare
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
Signed-off-by: Ashwanth Goli <[email protected]>
Signed-off-by: Ashwanth Goli <[email protected]>
Signed-off-by: Ashwanth Goli <[email protected]>
b07fd8d
to
165faea
Compare
Signed-off-by: Ashwanth Goli <[email protected]>
Signed-off-by: Ashwanth Goli <[email protected]>
would really appreciate a review on this one, thank you! |
minio-go v7.0.80 adds support to configure retries, but it requires [email protected] |
Signed-off-by: Ashwanth Goli <[email protected]>
9aefacd
to
ac8c1e1
Compare
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. Thanks!
Changes
Adds a configuration option for GCS to disable retries. GCS client retries idempotent operations by default.This allows disabling retries incase someone wants to handle them at a higher level
Introduces
MaxRetries
configuration for gcs, cos and obs providers.Already supported by a few providers but the naming isn't consistent
Not supported yet by the following:
bce.NewNoRetryPolicy()
but there is no public api to update max retries.Verification