frostfs-cli object range returns incorrect result #1062

Closed
opened 2024-03-29 09:46:47 +00:00 by mbiryukova · 0 comments
Member

Expected Behavior

frostfs-cli object range works correctly.

Current Behavior

With some objects, when requesting a range equal to the length of object, may be returned error can't get object payload range: copy payload: payload range size overflow, or resulting file may be larger than the requested range. When requesting such object via frostfs-cli object get, it has correct size.

Steps to Reproduce (for bugs)

  1. frostfs-cli object range --wallet <path-to-wallet> --rpc-endpoint <host:port> --cid <cid> --oid <oid> --file <output-file> --range 0:<object-size>

Your Environment

FrostFS Storage node
Version: v0.38.1 
GoVersion: go1.22.0

4 nodes

## Expected Behavior frostfs-cli object range works correctly. ## Current Behavior With some objects, when requesting a range equal to the length of object, may be returned error `can't get object payload range: copy payload: payload range size overflow`, or resulting file may be larger than the requested range. When requesting such object via frostfs-cli object get, it has correct size. ## Steps to Reproduce (for bugs) 1. `frostfs-cli object range --wallet <path-to-wallet> --rpc-endpoint <host:port> --cid <cid> --oid <oid> --file <output-file> --range 0:<object-size>` ## Your Environment ``` FrostFS Storage node Version: v0.38.1 GoVersion: go1.22.0 ``` 4 nodes
mbiryukova added the
bug
triage
labels 2024-03-29 09:46:47 +00:00
acid-ant was assigned by fyrchik 2024-03-29 10:30:27 +00:00
fyrchik added
frostfs-node
and removed
triage
labels 2024-03-29 10:31:10 +00:00
fyrchik changed title from frostfs-cli object range returns incorrect result to frostfs-cli object range returns incorrect result 2024-04-01 10:59:32 +00:00
fyrchik added this to the v0.38.3 milestone 2024-04-04 08:03:07 +00:00
fyrchik modified the milestone from v0.38.3 to v0.38.4 2024-04-04 10:28:52 +00:00
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: TrueCloudLab/frostfs-node#1062
No description provided.