Skip to content

Revert "feat(debuginfo): implement ObjectSizer interface for UploadReader" #5648

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

secfree
Copy link
Contributor

@secfree secfree commented May 30, 2025

This reverts commit b86663d.

#5641 uses "UploadReader.size" as "ObjectSize()", but "size" is not set when initializing, so "ObjectSize()" returns "0". Then it causes the uploaded "debuginfo" file to be size zero.

It seems currently the warning "could not guess file size for multipart upload; upload might be not optimized" has to be left.

…ader"

This reverts commit b86663d.
@secfree secfree requested a review from a team as a code owner May 30, 2025 03:39
@secfree
Copy link
Contributor Author

secfree commented Jun 23, 2025

@brancz could you help review this PR? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant