fix(master): create part plan for cross zone mp.#1000169625

Signed-off-by: Wu Huocheng <wuhuocheng@oppo.com>
This commit is contained in:
Wu Huocheng 2025-06-12 14:06:27 +08:00 committed by zhumingze1108
parent 443770c908
commit b24b2afd46

View File

@ -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)