forked from TrueCloudLab/frostfs-node
[#2244] node: Add object address to WC's operations
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
This commit is contained in:
parent
dbbbef9ddb
commit
07ec51ea60
1 changed files with 7 additions and 2 deletions
|
@ -121,9 +121,14 @@ func (s *Shard) fetchObjectData(addr oid.Address, skipMeta bool, cb storFetcher,
|
||||||
}
|
}
|
||||||
|
|
||||||
if IsErrNotFound(err) {
|
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 {
|
} 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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue