mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Imporve healing and reporting (#11312)
* Provide information on *actively* healing, buckets healed/queued, objects healed/failed. * Add concurrent healing of multiple sets (typically on startup). * Add bucket level resume, so restarts will only heal non-healed buckets. * Print summary after healing a disk is done.
This commit is contained in:
@@ -66,7 +66,7 @@ func (d *naughtyDisk) Hostname() string {
|
||||
return d.disk.Hostname()
|
||||
}
|
||||
|
||||
func (d *naughtyDisk) Healing() bool {
|
||||
func (d *naughtyDisk) Healing() *healingTracker {
|
||||
return d.disk.Healing()
|
||||
}
|
||||
|
||||
@@ -90,6 +90,12 @@ func (d *naughtyDisk) calcError() (err error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (d *naughtyDisk) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
|
||||
return -1, -1, -1
|
||||
}
|
||||
|
||||
func (d *naughtyDisk) SetDiskLoc(poolIdx, setIdx, diskIdx int) {}
|
||||
|
||||
func (d *naughtyDisk) GetDiskID() (string, error) {
|
||||
return d.disk.GetDiskID()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user