dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Feature][Master] Allows updating workflows and restarting failed Tasks while the workflow is running

Open lizc9 opened this issue 1 year ago • 3 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

Allows updating workflows and restarting failed Tasks while the workflow is running

Use case

Scenario 1: In the running workflow instance, there is a still running Task1 and a failed Task2, but Task1 needs to run for 2 hours. I either have to kill the entire workflow or wait for the workflow to finish running for 2 hours before resuming Task2. If Task1 has been executed halfway, it will take another 2 hours to kill the workflow and rerun it, but the best solution is to directly allow the failed Task2 to be rerun. Scenario 2: Maybe you can set the number of retries for Task2, but sometimes you need to modify the parameters of Task2 to rerun successfully, so you also need to allow the parameters of Task2 to be modified in the running workflow. screenshot-20240725-131834 screenshot-20240725-131957

Related issues

No response

Are you willing to submit a PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

lizc9 avatar Jul 25 '24 03:07 lizc9

I don't think this is part of the normal workflow. A running workflow that is modified at the same time will cause a running disorder.

SbloodyS avatar Jul 25 '24 07:07 SbloodyS

I don't think this is part of the normal workflow. A running workflow that is modified at the same time will cause a running disorder.

Recovery of failed tasks on running workflows is supported even if it is not allowed to modify workflows

lizc9 avatar Jul 25 '24 11:07 lizc9

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.

github-actions[bot] avatar Aug 26 '24 00:08 github-actions[bot]

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.

github-actions[bot] avatar Sep 07 '24 00:09 github-actions[bot]