mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -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 we resume to the same bucket, forward to last known item.
|
||||||
if tracker.Bucket != "" {
|
if tracker.Bucket != "" {
|
||||||
if tracker.Bucket == bucket.Name {
|
if tracker.Bucket == bucket.Name {
|
||||||
forwardTo = tracker.Bucket
|
forwardTo = tracker.Object
|
||||||
} else {
|
} else {
|
||||||
// Reset to where last bucket ended if resuming.
|
// Reset to where last bucket ended if resuming.
|
||||||
tracker.resume()
|
tracker.resume()
|
||||||
|
Loading…
Reference in New Issue
Block a user