Radeity commented on PR #13051: URL: https://github.com/apache/dolphinscheduler/pull/13051#issuecomment-1425293847
> sql exception maybe caused by db crash which is can be resumed ,so I have to keep trying again ,and don't need reduce count I don't think so. Now that we allow task to retry, we just assume that they are possible to return to normal, db crash or network failure, etc. If the task can not recover, we can directly stop it and don't even have to do this count. **SO**, we set this count number for two reasons: - If the task is unrecoverable, we stop it because more retries are meaningless. - If the task is recoverable, although it will recover one day with more retries, we can not wait for it because of huge amount of log output. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
