Browse Source

[Fix-13976][dao] task complete contain force success state (#14611)

Co-authored-by: eye <eye.gu@aloudata.com>
Co-authored-by: xiangzihao <460888207@qq.com>
3.2.1-prepare
eye-gu 1 year ago committed by GitHub
parent
commit
50cc65b118
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java

3
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() {

Loading…
Cancel
Save