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

object/b2: fix b2 get empty file info #3274

Merged
merged 1 commit into from
Mar 1, 2023
Merged

object/b2: fix b2 get empty file info #3274

merged 1 commit into from
Mar 1, 2023

Conversation

zhijian-pro
Copy link
Contributor

@zhijian-pro zhijian-pro commented Feb 28, 2023

ref #3272

TestB2

=== RUN   TestB2
    object_storage_test.go:87: PUT testEncodeFile failed: bad_request: File names must not contain unicode characters with codes less than 32
    object_storage_test.go:340: b2://zhijian-dev/unit-test/ does not support multipart upload: not supported
    object_storage_test.go:357: delete slash/ failed range_not_satisfiable: byte range bytes=0-1 for a file of length 0
    object_storage_test.go:346: delete empty file failed: range_not_satisfiable: byte range bytes=0-1 for a file of length 0
--- PASS: TestB2 (124.78s)

@zhijian-pro zhijian-pro added the backport-1.0 Backport to release-1.0 branch label Feb 28, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: +0.03 🎉

Comparison is base (bfcf95f) 55.35% compared to head (f9d5cd9) 55.39%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3274      +/-   ##
==========================================
+ Coverage   55.35%   55.39%   +0.03%     
==========================================
  Files         142      142              
  Lines       33340    33347       +7     
==========================================
+ Hits        18456    18471      +15     
+ Misses      12926    12922       -4     
+ Partials     1958     1954       -4     
Impacted Files Coverage Δ
pkg/object/b2.go 1.66% <0.00%> (-0.09%) ⬇️
pkg/object/obs.go 0.74% <0.00%> (-0.01%) ⬇️
pkg/fuse/context.go 65.85% <0.00%> (-7.32%) ⬇️
pkg/vfs/handle.go 83.58% <0.00%> (-0.75%) ⬇️
pkg/meta/sql.go 58.70% <0.00%> (-0.36%) ⬇️
pkg/meta/redis.go 66.19% <0.00%> (+0.03%) ⬆️
pkg/chunk/disk_cache.go 73.25% <0.00%> (+0.43%) ⬆️
pkg/vfs/writer.go 78.65% <0.00%> (+1.16%) ⬆️
pkg/vfs/reader.go 79.27% <0.00%> (+3.32%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@davies davies merged commit ecf2c4d into main Mar 1, 2023
@davies davies deleted the fix_b2_get_fileinfo branch March 1, 2023 06:24
SandyXSD pushed a commit that referenced this pull request Mar 28, 2023
@SandyXSD SandyXSD mentioned this pull request Mar 28, 2023
SandyXSD pushed a commit that referenced this pull request Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-1.0 Backport to release-1.0 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants