FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: give user provided checksum precondition priority for Storage#create methods that accept byte[] by BenWhitehead · Pull Request #3182 · googleapis/java-storage · GitHub

fix: give user provided checksum precondition priority for Storage#create methods that accept byte[] - #3182

Closed
BenWhitehead wants to merge 2 commits into
checksumming/06/grpc-journalingfrom
checksumming/07/create-bytes
Closed

fix: give user provided checksum precondition priority for Storage#create methods that accept byte[]#3182
BenWhitehead wants to merge 2 commits into
checksumming/06/grpc-journalingfrom
checksumming/07/create-bytes

Conversation

Copy link
Copy Markdown
Collaborator
  • Storage#create(BlobInfo, BlobTargetOption...)
  • Storage#create(BlobInfo, byte[], BlobTargetOption...)
  • Storage#create(BlobInfo, byte[], int, int, BlobTargetOption...)

If no user provided checksum is specified, crc32c will still be calculated.

Applies to both StorageOptions.http() and StorageOptions.grpc() instances.

test: remove obsolete mockito tests that don't test anything unique

…eate methods that accept byte[]

* `Storage#create(BlobInfo, BlobTargetOption...)`
* `Storage#create(BlobInfo, byte[], BlobTargetOption...)`
* `Storage#create(BlobInfo, byte[], int, int, BlobTargetOption...)`

If no user provided checksum is specified, crc32c will still be calculated.

Applies to both `StorageOptions.http()` and `StorageOptions.grpc()` instances.
BenWhitehead requested a review from a team July 1, 2025 16:13
product-auto-label Bot added size: l Pull request size is large. api: storage Issues related to the googleapis/java-storage API. labels Jul 1, 2025
BenWhitehead added this to the e2e-crc32c-media milestone Jul 8, 2025
BenWhitehead added a commit that referenced this pull request Jul 23, 2025
Merge train for

* chore: cleanup Crc32cValue and associated Hasher operations #3167
* chore: add Hasher#defaultHasher() #3173
* chore: add UnifiedOpts.Opts#getHasher() to return a hasher relative to the set of Opts defined for an operation. #3174
* feat: add default end-to-end crc32c checksumming for several upload methods via grpc transport #3176
* feat: add default end-to-end checksumming for JournalingBlobWriteSessionConfig #3180
* fix: give user provided checksum precondition priority for Storage#create methods that accept byte[] #3182
* fix: move crc32c computation before writing to disk for BufferToDiskThenUpload BlobWriteSession config #3187

Copy link
Copy Markdown
Collaborator Author

merged in #3197

BenWhitehead deleted the checksumming/07/create-bytes branch July 23, 2025 18:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 googleapis/java-storage API. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL