fix: faster healing when disk is replaced. (#11520)

This commit is contained in:
Klaus Post
2021-02-18 11:06:54 -08:00
committed by GitHub
parent 0f5ca83418
commit c5b2a8441b
6 changed files with 81 additions and 53 deletions

View File

@@ -204,8 +204,8 @@ wait:
}
}
lbDisks := z.serverPools[i].sets[setIndex].getOnlineDisks()
if err := healErasureSet(ctx, setIndex, buckets, lbDisks); err != nil {
err := z.serverPools[i].sets[setIndex].healErasureSet(ctx, buckets)
if err != nil {
logger.LogIf(ctx, err)
continue
}