This is an automated email from the ASF dual-hosted git repository.

jinyleechina pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new a2b5219315 Fix find last process instance in dependent task is not 
correct (#11424)
a2b5219315 is described below

commit a2b521931506c9c465a140ad3872467002828ac2
Author: Wenjun Ruan <[email protected]>
AuthorDate: Fri Aug 12 14:11:28 2022 +0800

    Fix find last process instance in dependent task is not correct (#11424)
---
 .../dolphinscheduler/server/master/utils/DependentExecute.java      | 6 ------
 1 file changed, 6 deletions(-)

diff --git 
a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java
 
b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java
index 2a358ecbcd..91f44df677 100644
--- 
a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java
+++ 
b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java
@@ -187,12 +187,6 @@ public class DependentExecute {
      */
     private ProcessInstance findLastProcessInterval(Long definitionCode, 
DateInterval dateInterval) {
 
-        ProcessInstance runningProcess = 
processService.findLastRunningProcess(definitionCode,
-                dateInterval.getStartTime(), dateInterval.getEndTime());
-        if (runningProcess != null) {
-            return runningProcess;
-        }
-
         ProcessInstance lastSchedulerProcess =
                 
processService.findLastSchedulerProcessInterval(definitionCode, dateInterval);
 

Reply via email to