Skip to content

Commit a5c20a0

Browse files
authored
[Fix-17353] Dependent calculation ignore need-fault-tolerance state (#17385)
1 parent a99c25d commit a5c20a0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/TaskInstanceMapper.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@
245245
from t_ds_task_instance
246246
where 1=1
247247
and workflow_instance_id = #{workflowInstanceId}
248+
and state != 8
248249
<if test="taskCodes != null and taskCodes.size() != 0">
249250
and task_code in
250251
<foreach collection="taskCodes" index="index" item="i" open="(" separator="," close=")">
@@ -263,6 +264,7 @@
263264
from t_ds_task_instance
264265
where workflow_instance_id = #{workflowInstanceId}
265266
and task_code = #{taskCode}
267+
and state != 8
266268
order by end_time desc limit 1
267269
</select>
268270

0 commit comments

Comments
 (0)