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

cli: fix empty block uploading in util upload-bin #3633

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

AliceInHunterland
Copy link
Contributor

Close #3630

Copy link

codecov bot commented Oct 21, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 83.27%. Comparing base (29bb3ff) to head (e00d7fe).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
cli/util/uploader.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3633      +/-   ##
==========================================
- Coverage   83.33%   83.27%   -0.06%     
==========================================
  Files         334      334              
  Lines       46445    46446       +1     
==========================================
- Hits        38704    38679      -25     
- Misses       6163     6193      +30     
+ Partials     1578     1574       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM, as always, one-line change.

cli/util/uploader.go Show resolved Hide resolved
In case of uploading retry already drained bin buffer is returned in
`bw.Bytes`, which leads to empty block uploading.

Close #3630

Signed-off-by: Ekaterina Pavlova <[email protected]>
@AnnaShaleva AnnaShaleva merged commit a0def2e into master Oct 22, 2024
33 of 35 checks passed
@AnnaShaleva AnnaShaleva deleted the fix-empty-obj-uploading branch October 22, 2024 07:12
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.

Empty block objects constructed by upload-bin command
2 participants