aboutsummaryrefslogtreecommitdiff
path: root/src/table/data.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-03-12 14:37:46 +0100
committerAlex Auvolat <alex@adnab.me>2021-03-12 14:37:46 +0100
commit7fdaf7aef0c2aa8b38dbc7dac630f6f9baf8f0a4 (patch)
treec7b212ed0333dfc57bb39370d85060d1d1a103eb /src/table/data.rs
parent1ec49980ec876ef9395a9ae088f82d86a1a0d9f6 (diff)
downloadgarage-7fdaf7aef0c2aa8b38dbc7dac630f6f9baf8f0a4.tar.gz
garage-7fdaf7aef0c2aa8b38dbc7dac630f6f9baf8f0a4.zip
Fix merkle updater not being notified; improved logging
Diffstat (limited to 'src/table/data.rs')
-rw-r--r--src/table/data.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/data.rs b/src/table/data.rs
index 6217bf6d..2817a849 100644
--- a/src/table/data.rs
+++ b/src/table/data.rs
@@ -142,7 +142,7 @@ where
if let Some((old_entry, new_entry)) = changed {
self.instance.updated(old_entry, Some(new_entry));
- //self.syncer.load_full().unwrap().invalidate(&tree_key[..]);
+ self.merkle_updater.todo_notify.notify();
}
Ok(())
@@ -163,7 +163,7 @@ where
if removed {
let old_entry = self.decode_entry(v)?;
self.instance.updated(Some(old_entry), None);
- //self.syncer.load_full().unwrap().invalidate(k);
+ self.merkle_updater.todo_notify.notify();
}
Ok(removed)
}