zhuangchong commented on issue #9628:
URL: 
https://github.com/apache/dolphinscheduler/issues/9628#issuecomment-1104723193

   > > `Duplicate key name 'idx_code_version' `causes this problem to be caused 
by executing the create and update methods at the same time when executing the 
`sh create-schema.sh` file.
   > 
   > @zhuangchong May I ask what is the expected behavior of `sh 
create-schema.sh`? Is there any method to avoid performing creation and update 
at the same time? It seems only 2.1.0_schema causes the duplicate errors and 
other updates seems fine.
   
   When `sh create-schema.sh` executes the CreateDolphinScheduler method, the 
InitDolphinScheduler and UpgradeDolphinScheduler under the directory will also 
be scanned and injected, we need to distinguish.


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