|
|
@ -164,7 +164,7 @@ func monitorLocalDisksAndHeal(ctx context.Context, z *erasureZones, bgSeq *healS |
|
|
|
for _, disk := range disks { |
|
|
|
for _, disk := range disks { |
|
|
|
logger.Info("Healing disk '%s' on %s zone", disk, humanize.Ordinal(i+1)) |
|
|
|
logger.Info("Healing disk '%s' on %s zone", disk, humanize.Ordinal(i+1)) |
|
|
|
|
|
|
|
|
|
|
|
lbDisks := z.zones[i].sets[setIndex].getLoadBalancedNDisks(z.zones[i].listTolerancePerSet) |
|
|
|
lbDisks := z.zones[i].sets[setIndex].getOnlineDisks() |
|
|
|
if err := healErasureSet(ctx, setIndex, buckets, lbDisks); err != nil { |
|
|
|
if err := healErasureSet(ctx, setIndex, buckets, lbDisks); err != nil { |
|
|
|
logger.LogIf(ctx, err) |
|
|
|
logger.LogIf(ctx, err) |
|
|
|
continue |
|
|
|
continue |
|
|
|