lordk911 edited a comment on issue #8790:
URL:
https://github.com/apache/dolphinscheduler/issues/8790#issuecomment-1072046141
there is another scenario :
one process with one task,the task have 4 versions. so the table
t_ds_process_task_relation_log will have 4 record,
wich is :

and table t_ds_process_task_relation has one record :

in version 2.0.0 edit this process is ok, because ProcessService.genDagData
method read from t_ds_process_task_relation , but in 2.0.5
ProcessService.genDagData read from t_ds_process_task_relation_log , so when to
save the process there well be 4 record pass to ProcessService.transformTask
method, which will cause Duplicate key error. @caishunfeng
--
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]