Do regular checks for healing status while scanning (#19946)

This commit is contained in:
Klaus Post
2024-06-18 09:11:04 -07:00
committed by GitHub
parent eb990f64a9
commit 2f9018f03b
10 changed files with 214 additions and 659 deletions

View File

@@ -464,7 +464,10 @@ func healFreshDisk(ctx context.Context, z *erasureServerPools, endpoint Endpoint
}
// Remove .healing.bin from all disks with similar heal-id
disks := z.serverPools[poolIdx].sets[setIdx].getDisks()
disks, err := z.GetDisks(poolIdx, setIdx)
if err != nil {
return err
}
for _, disk := range disks {
if disk == nil {