fix: heal data part lose

Signed-off-by: junxiang Mu <1948535941@qq.com>
This commit is contained in:
junxiang Mu
2025-07-23 10:35:34 +08:00
parent bdaee228db
commit b8b5511b68
6 changed files with 59 additions and 3 deletions
+7
View File
@@ -875,6 +875,13 @@ impl StorageAPI for Sets {
async fn check_abandoned_parts(&self, _bucket: &str, _object: &str, _opts: &HealOpts) -> Result<()> {
unimplemented!()
}
#[tracing::instrument(skip(self))]
async fn verify_object_integrity(&self, bucket: &str, object: &str, opts: &ObjectOptions) -> Result<()> {
self.get_disks_by_key(object)
.verify_object_integrity(bucket, object, opts)
.await
}
}
async fn _close_storage_disks(disks: &[Option<DiskStore>]) {