You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2020/04/01 10:50:42 UTC
[incubator-doris] branch master updated: Fix colocate relocateGroup
bug after decommission (#3239)
This is an automated email from the ASF dual-hosted git repository.
zhaoc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 34993a6 Fix colocate relocateGroup bug after decommission (#3239)
34993a6 is described below
commit 34993a69a8b03e5b43e93a967664832afe7a7688
Author: kangkaisen <ka...@apache.org>
AuthorDate: Wed Apr 1 18:50:36 2020 +0800
Fix colocate relocateGroup bug after decommission (#3239)
---
fe/src/main/java/org/apache/doris/clone/ColocateTableBalancer.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fe/src/main/java/org/apache/doris/clone/ColocateTableBalancer.java b/fe/src/main/java/org/apache/doris/clone/ColocateTableBalancer.java
index 948cfee..3d2e292 100644
--- a/fe/src/main/java/org/apache/doris/clone/ColocateTableBalancer.java
+++ b/fe/src/main/java/org/apache/doris/clone/ColocateTableBalancer.java
@@ -276,7 +276,7 @@ public class ColocateTableBalancer extends MasterDaemon {
Backend be = infoService.getBackend(excludeBeId);
if (be == null) {
LOG.info("Backend {} has been dropped when finding backend for colocate group {}", excludeBeId, groupId);
- return -1;
+ continue;
}
excludeHosts.add(be.getHost());
}
@@ -291,7 +291,7 @@ public class ColocateTableBalancer extends MasterDaemon {
continue;
}
if (excludeHosts.contains(be.getHost())) {
- break;
+ continue;
}
choosenBe = beStat;
break;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org