WangJPLeo commented on code in PR #10453:
URL: https://github.com/apache/dolphinscheduler/pull/10453#discussion_r901510534


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java:
##########
@@ -852,6 +851,10 @@ public void checkSerialProcess(ProcessDefinition 
processDefinition) {
             if (nextProcessInstance == null) {
                 return;
             }
+            ProcessInstance nextReadyStopProcessInstance = 
this.processService.loadNextProcess4Serial(processInstance.getProcessDefinition().getCode(),
 ExecutionStatus.READY_STOP.getCode(), processInstance.getId());

Review Comment:
   Yes, this happens when the serial-first workflow is executed at high 
frequency. If there is an instance in REAY_STOP, it is not possible to wake up 
the instance that should be executed first.



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