diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-17 21:59:07 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-17 21:59:07 +0200 |
commit | 3f40ef149f6dd4d61ceb326b5691e186aec178c3 (patch) | |
tree | f28af6fdb06cbe9b3f91f54aab9c4077bd83276d /src/block.rs | |
parent | f62b54f1dffe9b76aab47d32ba7f47411d5a58af (diff) | |
download | garage-3f40ef149f6dd4d61ceb326b5691e186aec178c3.tar.gz garage-3f40ef149f6dd4d61ceb326b5691e186aec178c3.zip |
Fix sync: use max root checksum level
Diffstat (limited to 'src/block.rs')
-rw-r--r-- | src/block.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/block.rs b/src/block.rs index 1e4c52dc..6add24b7 100644 --- a/src/block.rs +++ b/src/block.rs @@ -242,14 +242,14 @@ impl BlockManager { if need_nodes.len() > 0 { let put_block_message = self.read_block(hash).await?; - for resp in rpc_call_many( + let put_responses = rpc_call_many( garage.system.clone(), &need_nodes[..], put_block_message, BLOCK_RW_TIMEOUT, ) - .await - { + .await; + for resp in put_responses { resp?; } } |