[Bug] [dao] Rerun does not take effect in case of failure
Search before asking
- [X] I had searched in the issues and found no similar issues.
What happened
After the task fails to run, it will be rerun according to the configured retryTimes, maxRetryTimes and retryInterval, but the configuration does not take effect.
What you expected to happen
Automatic rerun configuration takes effect
How to reproduce
modify class TaskInstance:
private int retryTimes; ---> private Integer retryTimes; private int maxRetryTimes; ---> private Integer maxRetryTimes; private int retryInterval; ---> private Integer retryInterval;
Anything else
mybatis's method updateById, if the field is null, it will not update, So we can't use basic types, The basic type will cause the value saved in the field in the database to be 0
Version
1.3.9
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Hi:
- Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
- In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
- If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to [email protected].
How to reproduce modify class TaskInstance:
private int retryTimes; ---> private Integer retryTimes; private int maxRetryTimes; ---> private Integer maxRetryTimes; private int retryInterval; ---> private Integer retryInterval;
Hi @FrankZhang996 what your meaning about modifying class TaskInstance?
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.