morningman commented on a change in pull request #7017: URL: https://github.com/apache/incubator-doris/pull/7017#discussion_r743674558
########## File path: fe/fe-core/src/main/java/org/apache/doris/load/routineload/RoutineLoadManager.java ########## @@ -426,7 +426,10 @@ public long getAvailableBeForTask(long previoudBeId, String clusterName) throws // 1. Find if the given BE id has available slots if (previoudBeId != -1L) { int idleTaskNum = 0; - if (beIdToConcurrentTasks.containsKey(previoudBeId)) { + if (beIdToMaxConcurrentTasks.containsKey(previoudBeId)) { + idleTaskNum = 0; + LOG.warn("backend:" + previoudBeId + " not found, cannot get idleTaskNum."); Review comment: And BE crash because of this #6716. Need further debug. -- 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-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org