forked from TrueCloudLab/frostfs-node
[#2095] node: Fix collecting child objects
Stop child objects collection if the last returned object (the most "left" object in the collected chain) starts exactly from the `GETRANGE`'s `from` value. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
350eecfa13
commit
b413094704
3 changed files with 6 additions and 2 deletions
|
@ -963,7 +963,7 @@ func TestGetRemoteSmall(t *testing.T) {
|
|||
addr.SetObject(oidtest.ID())
|
||||
|
||||
srcObj := generateObject(addr, nil, nil)
|
||||
srcObj.SetPayloadSize(10)
|
||||
srcObj.SetPayloadSize(11)
|
||||
|
||||
ns, as := testNodeMatrix(t, []int{2})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue