mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(master): create part plan for cross zone mp.#1000169625
Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
This commit is contained in:
parent
443770c908
commit
b24b2afd46
@ -688,7 +688,8 @@ func CreateMigratePlanExcludeNodeSet(migratePlan *proto.ClusterPlan, mpPlan *pro
|
||||
// try to find new meta node from the same zone.
|
||||
find, dests := GetMigrateAddrExcludeNodeSet(getParam)
|
||||
if !find {
|
||||
return fmt.Errorf("Can't find %d free nodes from the zone(%s)", getParam.RequestNum, getParam.ZoneName)
|
||||
log.LogErrorf("Can't find %d free nodes from the zone(%s)", getParam.RequestNum, getParam.ZoneName)
|
||||
return NotEnoughResource
|
||||
}
|
||||
|
||||
err := FillMigratePlanArray(migratePlan, mpPlan, srcNode, dests)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user