[#849] policer: Write message about redundant local object copy

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-09-24 18:21:17 +03:00 committed by Alex Vanin
parent d613a856ce
commit 73fb1a886c

View file

@ -121,6 +121,8 @@ func (p *Policer) processNodes(ctx context.Context, addr *object.Address, nodes
WithCopiesNumber(shortage),
)
} else if redundantLocalCopy {
log.Info("redundant local object copy detected")
p.cbRedundantCopy(addr)
}
}