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:
Anis Elleuch
2018-09-11 00:21:59 +01:00
committed by Dee Koder
parent 12b4971b70
commit 7571582000
5 changed files with 42 additions and 4 deletions

View File

@@ -27,7 +27,9 @@ type StorageAPI interface {
// Storage operations.
IsOnline() bool // Returns true if disk is online.
LastError() error
Close() error
DiskInfo() (info DiskInfo, err error)
// Volume operations.