forked from TrueCloudLab/frostfs-node
[#1077] service/object: Don't override status of payload overtake
Reverse payload overtake triggers direct payload overtake that sets status and error. We should not override that. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
5828f43e52
commit
0f1eb743af
1 changed files with 1 additions and 4 deletions
|
@ -160,10 +160,7 @@ func (exec *execCtx) overtakePayloadInReverse(prev *objectSDK.ID) bool {
|
|||
|
||||
exec.overtakePayloadDirectly(chain, rngs, false)
|
||||
|
||||
exec.status = statusOK
|
||||
exec.err = nil
|
||||
|
||||
return true
|
||||
return exec.status == statusOK
|
||||
}
|
||||
|
||||
func (exec *execCtx) buildChainInReverse(prev *objectSDK.ID) ([]*objectSDK.ID, []*objectSDK.Range, bool) {
|
||||
|
|
Loading…
Reference in a new issue