oracleobjectstorage: fix: upload empty streams without multipart - #9903
Open
tomaszni wants to merge 1 commit into
Open
oracleobjectstorage: fix: upload empty streams without multipart#9903tomaszni wants to merge 1 commit into
tomaszni wants to merge 1 commit into
Conversation
tomaszni
force-pushed
the
fix-oracleobjectstorage-empty-stream
branch
from
September 10, 2026 23:24
c0ef667 to
21c04e1
Compare
8 tasks
OCI rejects a multipart completion request with no parts. Probe unknown-size streams through a buffered reader and use a regular upload when the stream is empty. Peek preserves a non-empty stream for the selected upload path.
tomaszni
force-pushed
the
fix-oracleobjectstorage-empty-stream
branch
from
September 13, 2026 11:59
21c04e1 to
3e424e1
Compare
Contributor
Author
|
Rebased on current master and removed |
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change do?
Fix the Oracle Object Storage
FsPutStream/0integration-test failure.OCI rejects completion of a multipart upload with no parts. For an unknown-size stream, probe through a buffered reader; if it is already at EOF, use a regular upload instead.
Peekpreserves non-empty stream data for the selected upload path.The separate companion PR #9902 fixes the Oracle Object Storage
FsEncodingfailures. Together, these two trivial fixes address the remaining failures from the backend integration suite.Linked issue
No issue - trivial backend bug fix.
For new or changed backends
Tested against a configured Oracle Object Storage remote:
The focused unit test passes all
isZeroLengthpaths. The integration test passes both zero-byte and 100-byte streamed uploads.A full backend run on this branch still has the separate
FsEncodingfailure, addressed by #9902.Checklist