mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-12 15:26:52 +00:00
Fix merkle updater not being notified; improved logging
This commit is contained in:
+2
-2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user