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

object: Perform assembly with `TTL=1` #2756

Closed cthulhu-rider closed 7 months ago

cthulhu-rider commented 7 months ago

This reverts commit 907f427b99768ff010834621578441ef81dc0ff9.

GET requests with TTL=1 are absolutely correct regardless of the need to assemble the object. This TTL blocks request forwarding - it does not happen. At the same time, assembling an object on the server spawns new requests from scratch, which is not forwarding. The original commit does not have a description of the cause, and it was never discovered.

Fixes #2447.

codecov[bot] commented 7 months ago

Codecov Report

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

Project coverage is 28.86%. Comparing base (080a35d) to head (f1f4286).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2756 +/- ## ======================================= Coverage 28.86% 28.86% ======================================= Files 415 415 Lines 32485 32485 ======================================= Hits 9378 9378 Misses 22264 22264 Partials 843 843 ```

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