lenboo commented on a change in pull request #8347:
URL: https://github.com/apache/dolphinscheduler/pull/8347#discussion_r810081695



##########
File path: 
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java
##########
@@ -134,6 +134,14 @@ private void checkTask4Retry() {
         }
 
         for (TaskInstance taskInstance : 
this.taskInstanceRetryCheckList.values()) {
+            ProcessInstance processInstance = 
processService.findProcessInstanceById(taskInstance.getProcessInstanceId());
+
+            if (processInstance.getState() == ExecutionStatus.READY_STOP) {

Review comment:
       This 'READY_STOP' state will be sent to master from API, so is it 
necessary to query from the database again?




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