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:
Harshavardhana
2016-10-17 14:31:33 -07:00
committed by GitHub
parent 686a610fc3
commit f8e13fb00e
6 changed files with 88 additions and 11 deletions
+1 -1
View File
@@ -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
}