aboutsummaryrefslogtreecommitdiff
path: root/src/garage
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-04-26 16:22:22 +0000
committerAlex Auvolat <alex@adnab.me>2020-04-26 16:22:22 +0000
commit0e49e0c8b59a77ba44733cfd3941433f11258d72 (patch)
treefc04740a6904135456661e3d8db2bf2cf65d7b68 /src/garage
parente3203f998b153d85199a322e8b6fee72a90c32c9 (diff)
downloadgarage-0e49e0c8b59a77ba44733cfd3941433f11258d72.tar.gz
garage-0e49e0c8b59a77ba44733cfd3941433f11258d72.zip
Add key table to repair procedure
Diffstat (limited to 'src/garage')
-rw-r--r--src/garage/repair.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/garage/repair.rs b/src/garage/repair.rs
index 4efb9e84..e91b4159 100644
--- a/src/garage/repair.rs
+++ b/src/garage/repair.rs
@@ -52,6 +52,13 @@ impl Repair {
.unwrap()
.add_full_scan()
.await;
+ self.garage
+ .key_table
+ .syncer
+ .load_full()
+ .unwrap()
+ .add_full_scan()
+ .await;
}
// TODO: wait for full sync to finish before proceeding to the rest?