This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git

commit d66324266ffa53d3f64db97cad273f6987982fca
Author: yujun <[email protected]>
AuthorDate: Sat Sep 9 00:48:27 2023 +0800

    [fix](tablet clone) fix be load rebalancer choose candidate tablets #23915
    
    When be load reblancer choose candidate tablets, it will try moving tablets 
from high load backends to low backend backends. If the higher HIGH BE has no 
available slot num, it should try next HIGH BE.
---
 fe/fe-core/src/main/java/org/apache/doris/clone/BeLoadRebalancer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/clone/BeLoadRebalancer.java 
b/fe/fe-core/src/main/java/org/apache/doris/clone/BeLoadRebalancer.java
index d388e5fd79..1871d4d43a 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/clone/BeLoadRebalancer.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/clone/BeLoadRebalancer.java
@@ -150,7 +150,7 @@ public class BeLoadRebalancer extends Rebalancer {
             }
 
             if (remainingPaths.isEmpty()) {
-                return alternativeTablets;
+                continue;
             }
 
             // select tablet from shuffled tablets


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to