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

Bytestreams bugfixes #240

Merged
merged 7 commits into from
Mar 21, 2019
Merged

Bytestreams bugfixes #240

merged 7 commits into from
Mar 21, 2019

Conversation

werkt
Copy link
Member

@werkt werkt commented Mar 21, 2019

No description provided.

George Gensure added 7 commits March 21, 2019 12:10
Write resets required a new interface, close() was not sufficient to
correctly handle a write request with a 0 offset with the intention of
resetting.
ByteStreamService now uses the readBlob layer to interpret special
unlimited 'limit' of 0.
Expand the ByteStringStreamSource to support committedSize and a
completion future for close.
Present write query interface for progressive client implementations
An attempt to upload a previously completed blob will be handled
immediately by the write listener, and must not attempt to write into
its output stream.
The (renamed) ByteStringWriteReader now waits for a successful write
completion in getData(), uses ByteString.Output, and try-with-resources.
In the event of an empty operation stream for stdout/err, a null Write
is used that completes immediately upon close.
The Executor no longer interrupts the readers to preserve remote request
safety - they are expected to close safely.
@werkt werkt requested a review from ulfjack as a code owner March 21, 2019 16:51
@werkt werkt merged commit 504559a into buildfarm:master Mar 21, 2019
@werkt werkt deleted the bytestreams-bugfixes branch March 21, 2019 17:04
@werkt werkt restored the bytestreams-bugfixes branch March 27, 2019 14:19
@werkt werkt deleted the bytestreams-bugfixes branch April 22, 2019 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants