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
+6
View File
@@ -73,3 +73,9 @@ func (donut API) DetachNode(hostname string) error {
func (donut API) Rebalance() error {
return iodine.New(APINotImplemented{API: "management.Rebalance"}, nil)
}
// Heal - heal your donuts
func (donut API) Heal() error {
// TODO handle data heal
return donut.healBuckets()
}