aboutsummaryrefslogtreecommitdiff
path: root/src/table/table_sync.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/table/table_sync.rs')
-rw-r--r--src/table/table_sync.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/table/table_sync.rs b/src/table/table_sync.rs
index 11b1c211..b81dad86 100644
--- a/src/table/table_sync.rs
+++ b/src/table/table_sync.rs
@@ -348,14 +348,8 @@ where
}
// All remote nodes have written those items, now we can delete them locally
- for was_removed in join_all(
- items
- .iter()
- .map(|(k, v)| self.table.delete_if_equal(&k[..], &v[..])),
- )
- .await
- {
- was_removed?;
+ for (k, v) in items.iter() {
+ self.table.delete_if_equal(&k[..], &v[..])?;
}
Ok(())