hello-stephen commented on PR #12081:
URL: https://github.com/apache/doris/pull/12081#issuecomment-1240401634

   when BE is already started, then run "sh start_be.sh --daemon", be.pid file 
will be overwritten, Do you mean this?
   At present, start_be.sh will check if PID process already exists and throw 
error info if it does.
   In some situations, the PID in be.pid file is not the actual PID of 
doris_be, and if run start_be.sh, the be.pid file will indeed be overwritten, 
for example, if run this `for i in {1..10};do  bash start_be.sh --daemon & 
done`, the pid in be.pid is probably wrong,and if run start_be.sh again, the 
be.pid file will indeed be overwritten. 
   So, it looks like this pr didn't really fix the problem.
   any other idea?
   


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

Reply via email to