You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/11/19 06:47:09 UTC

[GitHub] [incubator-doris] caiconghui commented on a change in pull request #7155: [Config] Set default value to 1 for max_query_retry_time and add decommissioned backend to unavailable backend list when do simple query plan to make Doris more robust

caiconghui commented on a change in pull request #7155:
URL: https://github.com/apache/incubator-doris/pull/7155#discussion_r752899291



##########
File path: fe/fe-core/src/main/java/org/apache/doris/qe/SimpleScheduler.java
##########
@@ -195,7 +195,7 @@ public static void addToBlacklist(Long backendID, String reason) {
     }
 
     public static boolean isAvailable(Backend backend) {
-        return (backend != null && backend.isAlive() && !blacklistBackends.containsKey(backend.getId()));
+        return (backend != null && backend.isAvailable() && !blacklistBackends.containsKey(backend.getId()));

Review comment:
       ok




-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org