mirror of
https://github.com/pgsty/minio.git
synced 2026-08-08 23:33:30 +03:00
Heal buckets upon init if needed, adding new disks and HUP works
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user