[#250] service/policer: Don't shrink node list at unknown error
Every unknown error must not decrease shortage counter and must not exclude faulty node from the node list, because this list will be used later for replication. Signed-off-by: Alex Vanin <alexey@nspcc.ru>remotes/KirillovDenis/release/v0.21.1
parent
7daf3727ee
commit
bbe700fa37
|
@ -85,6 +85,8 @@ func (p *Policer) processNodes(ctx context.Context, addr *object.Address, nodes
|
|||
log.Error("could not receive object header",
|
||||
zap.String("error", err.Error()),
|
||||
)
|
||||
|
||||
continue
|
||||
}
|
||||
} else {
|
||||
shortage--
|
||||
|
|
Loading…
Reference in New Issue