yujun777 commented on code in PR #28302:
URL: https://github.com/apache/doris/pull/28302#discussion_r1433812808


##########
fe/fe-core/src/main/java/org/apache/doris/clone/ColocateTableCheckerAndBalancer.java:
##########
@@ -437,25 +454,35 @@ private Set<GroupId> relocateAndBalanceGroup(Set<GroupId> 
groupIds, boolean bala
                 Set<Long> beIdsInOtherTag = 
colocateIndex.getBackendIdsExceptForTag(groupId, tag);
                 List<Long> availableBeIds = 
getAvailableBeIds(SystemInfoService.DEFAULT_CLUSTER, tag, beIdsInOtherTag,
                         infoService);
+
+                Set<Long> nonAliveBeIds = 
getNonAliveBeIds(unavailableBeIdsInGroup, infoService);
+                if ((CollectionUtils.isEmpty(unavailableBeIdsInGroup) || 
nonAliveBeIds.isEmpty())

Review Comment:
   if a be is decommission, also should move its tablets to other BE as soon as 
possible.



-- 
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]

Reply via email to