Fix head --raw request handling for EC #1271

Merged
dstepanov-yadro merged 1 commit from dstepanov-yadro/frostfs-node:fix/ec_head_raw into master 2024-09-04 19:51:10 +00:00

View file

@ -237,7 +237,7 @@ func (a *assemblerec) tryGetChunkFromLocalStorage(ctx context.Context, ch object
return nil
}
var addr oid.Address
addr.SetContainer(addr.Container())
addr.SetContainer(a.addr.Container())
Review

Shame on me

Shame on me
Review

It seems like another bug, what could happen here?

It seems like another bug, what could happen here?
Review

The local chunk was never taken in the assembly of the object.

The local chunk was never taken in the assembly of the object.
addr.SetObject(objID)
var object *objectSDK.Object
if a.head {