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
31 stars 38 forks source link

node/range: Do not request for empty payload #2851

Closed carpawell closed 1 month ago

carpawell commented 1 month ago

If small object bounds equal a range request bound, it led to [X:0] requests. Closes #2849.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 23.66%. Comparing base (5269eb9) to head (b8d22c0).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2851 +/- ## ======================================= Coverage 23.66% 23.66% ======================================= Files 769 769 Lines 44494 44494 ======================================= + Hits 10530 10531 +1 + Misses 33110 33109 -1 Partials 854 854 ```

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

carpawell commented 1 month ago

Full run: https://rest.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/1637-1715980719/index.html.