diff options
author | Alex Auvolat <alex@adnab.me> | 2021-02-24 12:18:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-02-24 12:18:01 +0100 |
commit | 5fe95ebae7c134491b198dd60518484425365fb2 (patch) | |
tree | 23c77252a27834ef9d6e2f1c1b755ab17d3647a5 /src | |
parent | 13e2eda0c2beb34b087f45d7461dba0a483c78af (diff) | |
download | garage-5fe95ebae7c134491b198dd60518484425365fb2.tar.gz garage-5fe95ebae7c134491b198dd60518484425365fb2.zip |
fix tracing
Diffstat (limited to 'src')
-rw-r--r-- | src/model/block.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/model/block.rs b/src/model/block.rs index 2a991623..0e1863cb 100644 --- a/src/model/block.rs +++ b/src/model/block.rs @@ -334,7 +334,7 @@ impl BlockManager { } if need_nodes.len() > 0 { - trace!("Block {:?} neede by {} nodes, sending", hash, need_nodes.len()); + trace!("Block {:?} needed by {} nodes, sending", hash, need_nodes.len()); let put_block_message = Arc::new(self.read_block(hash).await?); let put_resps = join_all(need_nodes.iter().map(|to| { @@ -436,7 +436,6 @@ impl BlockManager { Err(_) => continue, }; let ent_type = data_dir_ent.file_type().await?; - println!("name: {}, path: {:?}", name, data_dir_ent.path().to_str()); if name.len() == 2 && hex::decode(&name).is_ok() && ent_type.is_dir() { self.repair_aux_read_dir_rec(&data_dir_ent.path(), must_exit).await?; |