TsukiokaKogane commented on PR #54071: URL: https://github.com/apache/doris/pull/54071#issuecomment-3311730100
> > Currently if you pick a src replica with different location tags from the tabletCtx's, it would just lead to schedule fail. > > i think it shouldn't, all the replicas should be the same, so chose any version completed replica as clone source should be ok. > > LoadStatisticForTag's BE are all have the same tag, and when calling clusterStat.isMoreBalanced, the two BEs are from one LoadStatisticForTag and their tag should be the same. > > in most cases, the balance speed should be related with the fe config xx_slot_num and be config clone_worker_num. > > have any log for the sched failed ? @yujun777 i think you may have misunderstand, clusterStat computed in completeSchedCtx has specific tag (tabletCtx.getTag())) <img width="1750" height="278" alt="image" src="https://github.com/user-attachments/assets/af8eeb18-a3b4-4f77-a33c-144e80b94e32" /> <img width="1476" height="378" alt="image" src="https://github.com/user-attachments/assets/f9e4525c-a818-487f-936d-05e00f70a122" /> > > Currently if you pick a src replica with different location tags from the tabletCtx's, it would just lead to schedule fail. > > i think it shouldn't, all the replicas should be the same, so chose any version completed replica as clone source should be ok. > > LoadStatisticForTag's BE are all have the same tag, and when calling clusterStat.isMoreBalanced, the two BEs are from one LoadStatisticForTag and their tag should be the same. > > in most cases, the balance speed should be related with the fe config xx_slot_num and be config clone_worker_num. > > have any log for the sched failed ? @yujun777 as beLoadStatistics is specified with tag here <img width="1666" height="460" alt="image" src="https://github.com/user-attachments/assets/33e04baa-8534-4847-b155-514e11fcc23f" /> when calculating isMoreBalanced here with such beLoadStatistics <img width="1542" height="376" alt="image" src="https://github.com/user-attachments/assets/2295b6b0-9d6a-47ea-a770-9f5c8ac6328c" /> so if we pick BE3 as src replica it would schedule fail at here <img width="1470" height="996" alt="image" src="https://github.com/user-attachments/assets/a55f3a3a-66ac-48bf-8bb8-733f31f76add" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
