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

fix: update GapicUnbufferedChunkedResumableWritableByteChannel to be tolerant of non-quantum aligned writes #2537

Merged
merged 1 commit into from
May 21, 2024

Conversation

BenWhitehead
Copy link
Collaborator

@BenWhitehead BenWhitehead commented May 8, 2024

Update GapicUnbufferedChunkedResumableWritableByteChannel to only accept bytes at the 256KiB boundary when write(ByteBuffer[], int, int) is called.

Calls to writeAndClose(ByteBuffer[], int, int) will consume all bytes.

@BenWhitehead BenWhitehead added the owlbot:ignore instruct owl-bot to ignore a PR label May 8, 2024
@BenWhitehead BenWhitehead requested a review from a team as a code owner May 8, 2024 21:04
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: storage Issues related to the googleapis/java-storage API. labels May 8, 2024
…tolerant of non-quantum writes

Update GapicUnbufferedChunkedResumableWritableByteChannel to only accept bytes at the 256KiB boundary when `#write(ByteBuffer[], int, int)` is called.

Calls to writeAndClose(ByteBuffer[], int, int) will consume all bytes.
@BenWhitehead BenWhitehead merged commit 1701fde into main May 21, 2024
22 checks passed
@BenWhitehead BenWhitehead deleted the dangling-bytes-grpc branch May 21, 2024 18:33
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. owlbot:ignore instruct owl-bot to ignore a PR size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants