nspcc-dev / neofs-node

NeoFS is a decentralized distributed object storage integrated with the Neo blockchain
https://fs.neo.org
GNU General Public License v3.0
32 stars 38 forks source link

node/put/acl: Do not treat small objects as big #2783

Closed carpawell closed 6 months ago

carpawell commented 6 months ago

SplitID may be nil for small objects too (the same way it is for the new V2 split scheme). Do not try to search for a non-existing first object for small objects.

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 50.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 22.02%. Comparing base (9ca1fbd) to head (d8c0c1d). Report is 5 commits behind head on master.

Files Patch % Lines
pkg/services/object/acl/eacl/v2/headers.go 50.00% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2783 +/- ## ========================================== + Coverage 22.00% 22.02% +0.01% ========================================== Files 789 789 Lines 47212 47225 +13 ========================================== + Hits 10390 10401 +11 - Misses 35930 35931 +1 - Partials 892 893 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.