Add more delays on distributed startup for slow network (#5240)

Refer #5237
This commit is contained in:
Harshavardhana
2017-12-16 21:55:29 +05:30
committed by Dee Koder
parent ffdf115bf2
commit 819d1e80c6
3 changed files with 31 additions and 19 deletions

View File

@@ -842,7 +842,7 @@ func (adminAPI adminAPIHandlers) HealFormatHandler(w http.ResponseWriter, r *htt
// Wrap into retrying disks
retryingDisks := initRetryableStorageDisks(bootstrapDisks,
time.Millisecond, time.Millisecond*5)
time.Millisecond, time.Millisecond*5, globalStorageHealthCheckInterval, globalStorageRetryThreshold)
// Heal format.json on available storage.
err = healFormatXL(retryingDisks)