Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Api] Delete the stopped workflow without deleting the corresponding sub process, the workflow instance name is not displayed in the sub process #5048

Closed
xingchun-chen opened this issue Mar 13, 2021 · 1 comment · Fixed by #5066
Labels
bug Something isn't working
Milestone

Comments

@xingchun-chen
Copy link
Contributor

xingchun-chen commented Mar 13, 2021

1.stop workflow,Workflow contains sub_process
2.delete the workflow, No sub_process were deleted, the workflow instance name is not displayed in the sub process

image
Expected results
delete the workflow, need to delete all tasks under the workflow, including sub_process

Which version of Dolphin Scheduler:
-[1.3.6-prepare]

@xingchun-chen xingchun-chen changed the title [Bug][Api] Stop the workflow, the workflow instance name is not displayed in the sub process [Bug][Api] Delete the stopped workflow without deleting the corresponding sub process, the workflow instance name is not displayed in the sub process Mar 13, 2021
@CalvinKirs
Copy link
Member

This problem only occurs for users who use postgresql.

The reason is that the t_ds_task_instance table does not add a foreign key delete constraint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants