mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Print storage errors during distributed initialization (#6441)
This commit will print connection failures to other disks in other nodes after 5 retries. It is useful for users to understand why the distribued cluster fails to boot up.
This commit is contained in:
@@ -52,6 +52,10 @@ func (d *naughtyDisk) IsOnline() bool {
|
||||
return d.disk.IsOnline()
|
||||
}
|
||||
|
||||
func (d *naughtyDisk) LastError() (err error) {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (d *naughtyDisk) Close() (err error) {
|
||||
if err = d.calcError(); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user