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): fix checksums for gRPC uploads #7193

Merged
merged 3 commits into from Dec 27, 2022

Conversation

tritone
Copy link
Contributor

@tritone tritone commented Dec 27, 2022

There was an API change so that checksums can now only be provided by the StartResumableUpload request rather than while uploading. Send the checksum at this stage instead.

Fixes #7033

There was an API change so that checksums can now only
be provided by the StartResumableUpload request rather than
while uploading. Send the checksum at this stage instead.
@tritone tritone requested review from a team as code owners December 27, 2022 21:58
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the Cloud Storage API. size: s Pull request size is small. and removed size: m Pull request size is medium. labels Dec 27, 2022
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Dec 27, 2022
@product-auto-label product-auto-label bot added size: s Pull request size is small. and removed size: m Pull request size is medium. labels Dec 27, 2022
Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

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

Thanks!

@tritone tritone added the automerge Merge the pull request once unit tests and other checks pass. label Dec 27, 2022
@gcf-merge-on-green gcf-merge-on-green bot merged commit a7720e4 into googleapis:main Dec 27, 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 Dec 27, 2022
tritone added a commit to tritone/google-cloud-go that referenced this pull request Dec 28, 2022
In googleapis#7193 I moved the checksum logic to send on the request that
initiates the upload, but I inadvertently removed sending the
checksum for one-shot uploads. This PR restores the checksum
logic for simple uploads.

Fixes googleapis#7194
tritone added a commit that referenced this pull request Dec 28, 2022
In #7193 I moved the checksum logic to send on the request that
initiates the upload, but I inadvertently removed sending the
checksum for one-shot uploads. This PR restores the checksum
logic for simple uploads.

Fixes #7194
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.

storage: TestIntegration_MultiChunkWrite failed
2 participants