You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "JadenQ (via GitHub)" <gi...@apache.org> on 2023/06/30 02:47:44 UTC

[GitHub] [dolphinscheduler] JadenQ opened a new pull request, #14429: [FIX-14428][MASTER]Task fail should inform workflow.

JadenQ opened a new pull request, #14429:
URL: https://github.com/apache/dolphinscheduler/pull/14429

   <!--Thanks very much for contributing to Apache DolphinScheduler, we are happy that you want to help us improve DolphinScheduler! -->
   
   ## Purpose of the pull request
   
   - Add a task event condition to handle, when the task is timeout, the stateEvent somehow doesn't change, so the code will fall into the condition mentioned here [https://github.com/apache/dolphinscheduler/issues/14428](url). 
   - The task failure situation is not handled, so the working thread will stuck on running and if there are more and more workflow stuck on running, the thread pool will be overwelmed.
   
   ## Brief change log
   
   
   
   2. Why this change work
   - Handle the task failure, use taskFinished to further process task retry, failover, workflow status update works.
   - The taskFinished is well developed to handle further situation, calling this function does not create extra issue in task scheduling.
   
   3. Why this is urgent
   Restart the DS cluster with this situation can lead to further dead loop situation caused by the inappropriate operates for task submit process. I will try to reproduce it and report further if you may interested.
   
   ## Verify this pull request
   
   <!--*(Please pick either of the following options)*-->
   
   This pull request is code cleanup without any test coverage.
   
   *(or)*
   
   This pull request is already covered by existing tests, such as *(please describe tests)*.
   
   (or)
   
   This change added tests and can be verified as follows:
   
   Tried this change on my cluster, and this can help update the workflow status and properly process the task and workflow scheduling including retry and failover as developed in other modules.
   
   If your pull request contain incompatible change, you should also add it to `docs/docs/en/guide/upgrede/incompatible.md`
   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FIX-14428][MASTER]Task fail should inform workflow. [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #14429:
URL: https://github.com/apache/dolphinscheduler/pull/14429#issuecomment-1897543590

   This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FIX-14428][MASTER]Task fail should inform workflow. [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #14429:
URL: https://github.com/apache/dolphinscheduler/pull/14429#issuecomment-1909140866

   This pull request has been closed because it has not had recent activity. You could reopen it if you try to continue your work, and anyone who are interested in it are encouraged to continue work on this pull request.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [FIX-14428][MASTER]Task fail should inform workflow. [dolphinscheduler]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #14429: [FIX-14428][MASTER]Task fail should inform workflow.
URL: https://github.com/apache/dolphinscheduler/pull/14429


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org