You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/09/08 06:10:53 UTC

[GitHub] [incubator-dolphinscheduler] lgcareer commented on a change in pull request #3519: [Fix] fix bug #3487 Create folder duplicate name under multithreading

lgcareer commented on a change in pull request #3519:
URL: https://github.com/apache/incubator-dolphinscheduler/pull/3519#discussion_r484671875



##########
File path: sql/upgrade/1.3.3_schema/mysql/dolphinscheduler_ddl.sql
##########
@@ -87,3 +87,9 @@ delimiter ;
 CALL ct_dolphin_T_t_ds_process_definition_version;
 DROP PROCEDURE ct_dolphin_T_t_ds_process_definition_version;
 
+
+-- add t_ds_resources_un
+ALTER TABLE t_ds_resources ADD CONSTRAINT t_ds_resources_un UNIQUE KEY (full_name,`type`);

Review comment:
       Hi,This place need judge whether t_ds_resources_un exist,you can use the process function like the above uc_dolphin_T_t_ds_task_instance_A_first_submit_time




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org