diff options
author | Alex Auvolat <alex@adnab.me> | 2020-04-17 14:49:10 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-04-17 14:49:10 +0200 |
commit | 867646093b24a9bb7e4b24a7f2248615c6e03fde (patch) | |
tree | 3e4c371c507112eb7f22d319303294ea3afca732 /src/table_sync.rs | |
parent | 6ce14e2c9eb1ba81add3f61377a5a83854880b42 (diff) | |
download | garage-867646093b24a9bb7e4b24a7f2248615c6e03fde.tar.gz garage-867646093b24a9bb7e4b24a7f2248615c6e03fde.zip |
Table range deletion
Diffstat (limited to 'src/table_sync.rs')
-rw-r--r-- | src/table_sync.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/table_sync.rs b/src/table_sync.rs index 013e6358..c1d3bea8 100644 --- a/src/table_sync.rs +++ b/src/table_sync.rs @@ -346,6 +346,8 @@ impl<F: TableSchema + 'static> TableSyncer<F> { } } } + let n_checksums = checksums.iter().map(|x| x.children.len()).fold(0, |x, y| x + y); + eprintln!("({}) Checksum comparison RPC: {} different out of {}", self.table.name, ret.len(), n_checksums); Ok(ret) } |