mirror of
https://github.com/minio/minio.git
synced 2026-11-06 00:32:15 +00:00
server: Startup sequence should be more idempotent. (#2974)
Fixes #2971 - honors ignore-disks option properly. Fixes #2969 - change the net.Dial to have a timeout of 3secs.
This commit is contained in:
1 parent
686a610fc3
commit
f8e13fb00e
6 files changed
+88
-11
No files matched your search
@@ -194,7 +194,7 @@ func xlHouseKeeping(storageDisks []StorageAPI) error {
|
||||
err := cleanupDir(disk, minioMetaBucket, tmpMetaPrefix)
|
||||
if err != nil {
|
||||
switch errorCause(err) {
|
||||
case errDiskNotFound, errVolumeNotFound:
|
||||
case errDiskNotFound, errVolumeNotFound, errFileNotFound:
|
||||
default:
|
||||
errs[index] = err
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user