kevinjmh commented on PR #11490:
URL: 
https://github.com/apache/dolphinscheduler/pull/11490#issuecomment-1283485768

   I would like to delete them too. The remained task in `t_ds_task_definition` 
is garbage once relation is deleted, and there is no `re-used task` currently.
   
   This should be taken as a bug, because when deleting Environment / Worker 
Group, we will do some check any existing task is using such Environment / 
Worker Group. For example:
   
https://github.com/apache/dolphinscheduler/blob/a11892aea0dd16ea04d7a595b186a8ae1f32a9c0/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/EnvironmentServiceImpl.java#L334-L342
   
   Deleting Environment / Worker Group will fail if such remained task exists


-- 
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]

Reply via email to