Skip to content

Commit a2b5219

Browse files
authored
Fix find last process instance in dependent task is not correct (#11424)
1 parent dcab16a commit a2b5219

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/utils

dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,6 @@ private DependResult getDependTaskResult(long taskCode, ProcessInstance processI
187187
*/
188188
private ProcessInstance findLastProcessInterval(Long definitionCode, DateInterval dateInterval) {
189189

190-
ProcessInstance runningProcess = processService.findLastRunningProcess(definitionCode,
191-
dateInterval.getStartTime(), dateInterval.getEndTime());
192-
if (runningProcess != null) {
193-
return runningProcess;
194-
}
195-
196190
ProcessInstance lastSchedulerProcess =
197191
processService.findLastSchedulerProcessInterval(definitionCode, dateInterval);
198192

0 commit comments

Comments
 (0)