weeway edited a comment on issue #8790:
URL: 
https://github.com/apache/dolphinscheduler/issues/8790#issuecomment-1068059860


   I had the same problem and reproduced it by following steps.
   1. create a new process and create the first task in it, then save the 
process (will back to process list)
   2. click into the process and create the second task, then save then process 
(do not click close)
   3. create the third task, then save then process and click close
   4. click into the process and save, the error occurs
   
   in step 3, the process DAG looks like this:
   <img width="2305" alt="image" 
src="https://user-images.githubusercontent.com/12637868/158401170-74fc7401-c38b-4503-9b6a-3b905758a741.png";>
   
   and the t_ds_task_definition looks like this:
   <img width="1293" alt="image" 
src="https://user-images.githubusercontent.com/12637868/158401503-a75074a7-b320-4db0-afc1-6936fbe6d697.png";>
   
   in t_ds_task_definition table, there are two tasks with then same code 
'4854144904256' and same version '1'. That seems  
   to be the reason causing duplicate


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