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

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
remotes/fyrchik/meta-pebble
Leonard Lyubich 2021-09-24 18:21:17 +03:00 committed by Alex Vanin
parent d613a856ce
commit 73fb1a886c
1 changed files with 2 additions and 0 deletions

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)
}
}