diff options
author | Alex <alex@adnab.me> | 2022-09-20 11:57:52 +0200 |
---|---|---|
committer | Alex <alex@adnab.me> | 2022-09-20 11:57:52 +0200 |
commit | 2c312e9cbd58368484e9acb043b7c9d0ebb8905c (patch) | |
tree | 9ed0c1a4c2ca52d5f9ef7a86320d0d1236255603 /src/table/sync.rs | |
parent | fbd32933eaaee4fa2163497647ef70546c9ee8b9 (diff) | |
parent | 1f7b050b7dd975642c8cd5d8a7562d347cfa528d (diff) | |
download | garage-2c312e9cbd58368484e9acb043b7c9d0ebb8905c.tar.gz garage-2c312e9cbd58368484e9acb043b7c9d0ebb8905c.zip |
Merge pull request 'Change a warn! into a debug!' (#388) from less-noise into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/388
Diffstat (limited to 'src/table/sync.rs')
-rw-r--r-- | src/table/sync.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/sync.rs b/src/table/sync.rs index 62b88a58..28e99dd3 100644 --- a/src/table/sync.rs +++ b/src/table/sync.rs @@ -351,11 +351,11 @@ where // Just send that item directly if let Some(val) = self.data.store.get(&ik[..])? { if blake2sum(&val[..]) != ivhash { - warn!("({}) Hashes differ between stored value and Merkle tree, key: {:?} (if your server is very busy, don't worry, this happens when the Merkle tree can't be updated fast enough)", F::TABLE_NAME, ik); + debug!("({}) Hashes differ between stored value and Merkle tree, key: {} (if your server is very busy, don't worry, this happens when the Merkle tree can't be updated fast enough)", F::TABLE_NAME, hex::encode(ik)); } todo_items.push(val.to_vec()); } else { - warn!("({}) Item from Merkle tree not found in store: {:?} (if your server is very busy, don't worry, this happens when the Merkle tree can't be updated fast enough)", F::TABLE_NAME, ik); + debug!("({}) Item from Merkle tree not found in store: {} (if your server is very busy, don't worry, this happens when the Merkle tree can't be updated fast enough)", F::TABLE_NAME, hex::encode(ik)); } } MerkleNode::Intermediate(l) => { |