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

Some fixes for object service #1343

Merged
merged 4 commits into from
Apr 29, 2022
Merged

Conversation

fyrchik
Copy link
Contributor

@fyrchik fyrchik commented Apr 29, 2022

Related #1319 .

@codecov
Copy link

codecov bot commented Apr 29, 2022

Codecov Report

Merging #1343 (4c58ed7) into master (b74fb2b) will increase coverage by 0.00%.
The diff coverage is 45.00%.

@@           Coverage Diff           @@
##           master    #1343   +/-   ##
=======================================
  Coverage   34.72%   34.72%           
=======================================
  Files         313      313           
  Lines       19536    19553   +17     
=======================================
+ Hits         6783     6789    +6     
- Misses      12215    12225   +10     
- Partials      538      539    +1     
Impacted Files Coverage Δ
pkg/local_object_storage/blobstor/fstree/fstree.go 73.52% <0.00%> (-7.12%) ⬇️
pkg/local_object_storage/blobstor/put.go 84.00% <81.81%> (-1.72%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b74fb2b...4c58ed7. Read the comment docs.

Copy link
Member

@carpawell carpawell left a comment

Choose a reason for hiding this comment

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

  1. commits do not contain issue/PR number
  2. was the prometheus update required? if so I would add some words to the commit's body

@@ -89,6 +97,10 @@ func (b *BlobStor) PutRaw(addr *addressSDK.Address, data []byte, compress bool)
return new(PutRes), nil
}

if compress {
Copy link
Member

Choose a reason for hiding this comment

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

is compressing small objects expected to stay that way?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, there are no problems here.

…tedTarget`

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
…and `remote` targets

They work with prepared objects only.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
@cthulhu-rider cthulhu-rider merged commit 3c39e6d into nspcc-dev:master Apr 29, 2022
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.

3 participants