From a2b521931506c9c465a140ad3872467002828ac2 Mon Sep 17 00:00:00 2001 From: Wenjun Ruan Date: Fri, 12 Aug 2022 14:11:28 +0800 Subject: [PATCH] Fix find last process instance in dependent task is not correct (#11424) --- .../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);