mirror of
https://github.com/minio/minio.git
synced 2025-11-20 09:56:07 -05:00
fix: ensure buckets are preserved if one set returns error (#9468)
the bucket should be deleted if it can be successfully deleted on all sets, if not we should ensure to restore those buckets properly.
This commit is contained in:
@@ -87,11 +87,9 @@ func newXLZones(ctx context.Context, endpointZones EndpointZones) (ObjectLayer,
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
if !z.SingleZone() {
|
||||
z.quickHealBuckets(ctx)
|
||||
}
|
||||
go intDataUpdateTracker.start(GlobalContext, localDrives...)
|
||||
|
||||
z.quickHealBuckets(ctx)
|
||||
go intDataUpdateTracker.start(GlobalContext, localDrives...)
|
||||
return z, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user