From 806df164b2e768da9af0e7ae150c0fe8f4811321 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 8 Mar 2021 14:43:24 -0800 Subject: [PATCH] Revert "heal: Heal bucket metadata when a fresh disk is inserted (#11734)" This reverts commit 64662a49ff6fb9b50f05f1df24f81fa960435588. --- cmd/background-newdisks-heal-ops.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cmd/background-newdisks-heal-ops.go b/cmd/background-newdisks-heal-ops.go index 48f89944f..36c398940 100644 --- a/cmd/background-newdisks-heal-ops.go +++ b/cmd/background-newdisks-heal-ops.go @@ -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)