From e1755275a09e2e9c65ddc07ec680e9a559b735f7 Mon Sep 17 00:00:00 2001 From: jiangfucheng <33349046+jiangfucheng@users.noreply.github.com> Date: Fri, 5 Nov 2021 15:10:41 -0500 Subject: [PATCH] resume heal from previous object instead of bucket after server restart (#13581) --- cmd/global-heal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/global-heal.go b/cmd/global-heal.go index 57b5a5685..c7826e7b1 100644 --- a/cmd/global-heal.go +++ b/cmd/global-heal.go @@ -180,7 +180,7 @@ func (er *erasureObjects) healErasureSet(ctx context.Context, buckets []BucketIn // If we resume to the same bucket, forward to last known item. if tracker.Bucket != "" { if tracker.Bucket == bucket.Name { - forwardTo = tracker.Bucket + forwardTo = tracker.Object } else { // Reset to where last bucket ended if resuming. tracker.resume()