forked from buildfarm/buildfarm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bytestreams bugfixes (buildfarm#240)
* Write reset interface addition 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. * Logging cleanup for ByteStreamService * Call readBlob in ByteStreamService for blobs ByteStreamService now uses the readBlob layer to interpret special unlimited 'limit' of 0. * Memory getOperationStreamWrite implementation Expand the ByteStringStreamSource to support committedSize and a completion future for close. * ByteStreamService queryWriteStatus implementation Present write query interface for progressive client implementations * Prevent write processing of completed blobs 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. * Executor write support for stdout/stderr 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.
- Loading branch information
Showing
16 changed files
with
386 additions
and
207 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.