Skip to content

Commit 8340f3f

Browse files
authored
[Fix-16813] Missing implememts in isTaskExecutionRunnableForbidden (#16814)
1 parent f3b5d1f commit 8340f3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/graph/WorkflowExecutionGraph.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
package org.apache.dolphinscheduler.server.master.engine.graph;
1919

20+
import org.apache.dolphinscheduler.common.enums.Flag;
2021
import org.apache.dolphinscheduler.dao.entity.TaskInstance;
2122
import org.apache.dolphinscheduler.plugin.task.api.enums.TaskExecutionStatus;
2223
import org.apache.dolphinscheduler.plugin.task.api.utils.TaskTypeUtils;
@@ -252,7 +253,7 @@ public boolean isTaskExecutionRunnableSkipped(final ITaskExecutionRunnable taskE
252253

253254
@Override
254255
public boolean isTaskExecutionRunnableForbidden(final ITaskExecutionRunnable taskExecutionRunnable) {
255-
return false;
256+
return (taskExecutionRunnable.getTaskDefinition().getFlag() == Flag.NO);
256257
}
257258

258259
/**

0 commit comments

Comments
 (0)