aboutsummaryrefslogtreecommitdiff
path: root/src/garage/repair.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/garage/repair.rs')
-rw-r--r--src/garage/repair.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/garage/repair.rs b/src/garage/repair.rs
index 8200f1f0..a67bf2e5 100644
--- a/src/garage/repair.rs
+++ b/src/garage/repair.rs
@@ -63,6 +63,14 @@ impl Repair {
.await?;
}
+ if let Some(RepairWhat::BlockIntegrity { limit }) = opt.what {
+ info!("Verifying integrity of stored blocks");
+ self.garage
+ .block_manager
+ .verify_data_store_integrity(&must_exit, limit)
+ .await?;
+ }
+
Ok(())
}