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

chore(storage): retry configs for gRPC media ops #6754

Merged
merged 3 commits into from Sep 28, 2022

Conversation

tritone
Copy link
Contributor

@tritone tritone commented Sep 27, 2022

Adds retry config to grpcReader and grpcWriter types so that they can be propagated to operations as needed. Ensure that the configured values are used for all retry calls, and that UserProject is consistently passed through as well.

Adds retry config to grpcReader and grpcWriter types so that
they can be propagated to operations as needed. Ensure that the
configured values are used for all retry calls, and that
UserProject is consistently passed through as well.
@tritone tritone requested review from a team as code owners September 27, 2022 21:33
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: storage Issues related to the Cloud Storage API. labels Sep 27, 2022
Copy link
Contributor

@noahdietz noahdietz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done, makes perfect sense.

@tritone tritone added the automerge Merge the pull request once unit tests and other checks pass. label Sep 28, 2022
@gcf-merge-on-green gcf-merge-on-green bot merged commit 43dbbd7 into googleapis:main Sep 28, 2022
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Sep 28, 2022
tritone added a commit to tritone/google-cloud-go that referenced this pull request Sep 28, 2022
I missed a case where the shouldRetry function could be nil
in googleapis#6754, which causes a panic in integration tests.

Fixes googleapis#6760 (this is the actual failure)
Fixes googleapis#6757
Fixes googleapis#6758
Fixes googleapis#6759
BrennaEpp pushed a commit that referenced this pull request Sep 28, 2022
I missed a case where the shouldRetry function could be nil
in #6754, which causes a panic in integration tests.

Fixes #6760 (this is the actual failure)
Fixes #6757
Fixes #6758
Fixes #6759
kimihrr pushed a commit to kimihrr/google-cloud-go-kimia that referenced this pull request Sep 28, 2022
Adds retry config to grpcReader and grpcWriter types so that they can be propagated to operations as needed. Ensure that the configured values are used for all retry calls, and that UserProject is consistently passed through as well.
kimihrr pushed a commit to kimihrr/google-cloud-go-kimia that referenced this pull request Sep 28, 2022
I missed a case where the shouldRetry function could be nil
in googleapis#6754, which causes a panic in integration tests.

Fixes googleapis#6760 (this is the actual failure)
Fixes googleapis#6757
Fixes googleapis#6758
Fixes googleapis#6759
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the Cloud Storage API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants