ruanwenjun commented on code in PR #11864:
URL: https://github.com/apache/dolphinscheduler/pull/11864#discussion_r966647730


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThreadPool.java:
##########
@@ -101,7 +101,8 @@ public void submitStateEvent(StateEvent stateEvent) {
      * Handle the events belong to the given workflow.
      */
     public void executeEvent(final WorkflowExecuteRunnable 
workflowExecuteThread) {
-        if (!workflowExecuteThread.isStart() || 
workflowExecuteThread.eventSize() == 0) {
+        if (!workflowExecuteThread.isStart() || 
workflowExecuteThread.isHandingEvent()

Review Comment:
   When this case occur, means the system may exist bug or meet some error, 
like database crash.



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

Reply via email to