mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
resume heal from previous object instead of bucket after server restart (#13581)
This commit is contained in:
parent
520037e721
commit
e1755275a0
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user