mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
Avoid reconnect of disk during startup sequence (#14070)
This commit is contained in:
1 parent
7ee2d1c339
commit
d300e775a6
1 file changed
+1
-1
+1
-1
@@ -106,7 +106,7 @@ func isEndpointConnectionStable(diskMap map[Endpoint]StorageAPI, endpoint Endpoi
|
||||
if !disk.IsOnline() {
|
||||
return false
|
||||
}
|
||||
if disk.LastConn().After(lastCheck) {
|
||||
if !lastCheck.IsZero() && disk.LastConn().After(lastCheck) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user