[#2244] node: Add object address to WC's operations

Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
Pavel Karpy 2023-02-07 16:40:07 +03:00 committed by fyrchik
parent dbbbef9ddb
commit 07ec51ea60

View file

@ -121,9 +121,14 @@ func (s *Shard) fetchObjectData(addr oid.Address, skipMeta bool, cb storFetcher,
}
if IsErrNotFound(err) {
s.log.Debug("object is missing in write-cache")
s.log.Debug("object is missing in write-cache",
zap.Stringer("addr", addr),
zap.Bool("skip_meta", skipMeta))
} else {
s.log.Error("failed to fetch object from write-cache", zap.Error(err))
s.log.Error("failed to fetch object from write-cache",
zap.Error(err),
zap.Stringer("addr", addr),
zap.Bool("skip_meta", skipMeta))
}
}