This is an automated email from the ASF dual-hosted git repository.
zihaoxiang 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 50cc65b118 [Fix-13976][dao] task complete contain force success state
(#14611)
50cc65b118 is described below
commit 50cc65b118a2edc2738af0656d189de9c1cb9a57
Author: eye-gu <[email protected]>
AuthorDate: Fri Jul 21 11:50:29 2023 +0800
[Fix-13976][dao] task complete contain force success state (#14611)
Co-authored-by: eye <[email protected]>
Co-authored-by: xiangzihao <[email protected]>
---
.../main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java
b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java
index 0a0b4876e4..b71a229ff5 100644
---
a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java
+++
b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java
@@ -347,7 +347,8 @@ public class TaskInstance implements Serializable {
return this.getState().isSuccess()
|| this.getState().isKill()
- || (this.getState().isFailure() && !taskCanRetry());
+ || (this.getState().isFailure() && !taskCanRetry())
+ || this.getState().isForceSuccess();
}
public boolean isSubProcess() {