Revert "heal: Heal bucket metadata when a fresh disk is inserted (#11734)"

This reverts commit 64662a49ff.
This commit is contained in:
Harshavardhana 2021-03-08 14:43:24 -08:00
parent 4ac9ed4248
commit 806df164b2

View file

@ -375,12 +375,6 @@ func monitorLocalDisksAndHeal(ctx context.Context, z *erasureServerPools, bgSeq
Name: pathJoin(minioMetaBucket, minioConfigPrefix),
})
// Buckets data are dispersed in multiple zones/sets, make
// sure to heal all bucket metadata configuration.
buckets = append(buckets, []BucketInfo{
{Name: pathJoin(minioMetaBucket, bucketMetaPrefix)},
}...)
// Heal latest buckets first.
sort.Slice(buckets, func(i, j int) bool {
a, b := strings.HasPrefix(buckets[i].Name, minioMetaBucket), strings.HasPrefix(buckets[j].Name, minioMetaBucket)