Stream RANGE replies #1510

Open
opened 2025-12-28 17:35:41 +00:00 by sami · 1 comment
Owner

Originally created by @cthulhu-rider on GitHub (Sep 23, 2025).

ed21d3d0fb added nspcc-dev/neofs-node@96248a4c4e/pkg/local_object_storage/engine/get.go (L181)

for GET but not for RANGE

Describe the solution you'd like

change nspcc-dev/neofs-node@96248a4c4e/pkg/local_object_storage/engine/range.go (L22) signature to return io.ReadCloser

resolve nspcc-dev/neofs-node@96248a4c4e/pkg/services/object/get/util.go (L283-L286)

Additional context

#3439

Originally created by @cthulhu-rider on GitHub (Sep 23, 2025). ## Is your feature request related to a problem? Please describe. ed21d3d0fb3aeae255540f3fa3565668f1dfaee3 added https://github.com/nspcc-dev/neofs-node/blob/96248a4c4e713111cd07e4e781987b22d416dcc3/pkg/local_object_storage/engine/get.go#L181 for GET but not for RANGE ## Describe the solution you'd like change https://github.com/nspcc-dev/neofs-node/blob/96248a4c4e713111cd07e4e781987b22d416dcc3/pkg/local_object_storage/engine/range.go#L22 signature to return `io.ReadCloser` resolve https://github.com/nspcc-dev/neofs-node/blob/96248a4c4e713111cd07e4e781987b22d416dcc3/pkg/services/object/get/util.go#L283-L286 ## Additional context #3439
Author
Owner

@roman-khimov commented on GitHub (Dec 25, 2025):

We support ranges in various gateways via request parameters, so it's important to make them as performant as GET is (users shouldn't feel any difference).

@roman-khimov commented on GitHub (Dec 25, 2025): We support ranges in various gateways via request parameters, so it's important to make them as performant as GET is (users shouldn't feel any difference).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-node#1510
No description provided.