This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 7abd23cad1 [fix](tablet clone) fix be load rebalancer choose candidate
tablets #23915
7abd23cad1 is described below
commit 7abd23cad1b641e20d7d6a48b58d7b612ac3ae2e
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]