diff options
author | Alex Auvolat <alex@adnab.me> | 2021-03-12 14:37:46 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-03-12 14:37:46 +0100 |
commit | 7fdaf7aef0c2aa8b38dbc7dac630f6f9baf8f0a4 (patch) | |
tree | c7b212ed0333dfc57bb39370d85060d1d1a103eb /src/table/data.rs | |
parent | 1ec49980ec876ef9395a9ae088f82d86a1a0d9f6 (diff) | |
download | garage-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.rs | 4 |
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) } |