Heal buckets upon init if needed, adding new disks and HUP works

This commit is contained in:
Harshavardhana
2015-07-16 09:46:38 -07:00
parent 00a701a155
commit 5507a39840
3 changed files with 28 additions and 33 deletions

View File

@@ -119,6 +119,7 @@ func New() (Interface, error) {
newBucket.partMetadata = make(map[string]map[int]PartMetadata)
a.storedBuckets.Set(k, newBucket)
}
a.Heal()
}
return a, nil
}