Skip to content

Commit

Permalink
chore: refine logs
Browse files Browse the repository at this point in the history
  • Loading branch information
will@2012 committed Jun 11, 2024
1 parent e2b366f commit 0d229af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion triedb/pathdb/difflayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (dl *diffLayer) Node(owner common.Hash, path []byte, hash common.Hash) ([]b
// so in extreme cases, both reading the difflayer cache and reading the disklayer may fail.
// In this case, fallback to the original 128-layer recursive difflayer query path.
diffHashCacheSlowPathMeter.Mark(1)
log.Info("Hash map and disklayer mismatch, retry difflayer", "owner", owner, "path", path, "hash", hash.String())
log.Debug("Hash map and disklayer mismatch, retry difflayer", "owner", owner, "path", path, "hash", hash.String(), "error", err)
return dl.node(owner, path, hash, 0)
} else {
return blob, nil
Expand Down

0 comments on commit 0d229af

Please sign in to comment.