mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Do regular checks for healing status while scanning (#19946)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user