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



##########
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:
       This method maybe used for load process. And for load, the decommission 
backend is still able to load data.
   So in order to minimize the impact, we can only make this judgment for the 
**query** request.




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