intelligentfu8 commented on code in PR #45208: URL: https://github.com/apache/doris/pull/45208#discussion_r1897056902
########## docker/runtime/be/resource/be_entrypoint.sh: ########## @@ -157,7 +181,23 @@ add_self() memlist=`show_backends $svc` if echo "$memlist" | grep -q -w "$MY_SELF" &>/dev/null ; then log_stderr "[info] Check myself ($MY_SELF:$HEARTBEAT_PORT) exist in FE, start be directly ..." - break; + if [[ "x$NEED_PRE_START" == "xfalse" ]] ; then + break; + fi + enable_quer $svc + res=`check_enable $memlist` + if [[ "x$res" == "xtrue" ]] ; then + break; + else Review Comment: if already break. not need else. -- 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