github-actions[bot] commented on issue #10651:
URL: 
https://github.com/apache/dolphinscheduler/issues/10651#issuecomment-1168377253

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
    When the task is executed, there is a task flow instance, but the task 
instance has not been running. Check the background log and find the error:
   
![image](https://user-images.githubusercontent.com/34291309/176126416-9f0faf05-6f4a-4119-9a39-78d83b9dac2d.png)
   
   ### What you expected to happen
   
   Hope it can be scheduled normally
   
   ### How to reproduce
   
   Occasional
   
   ### Anything else
   
   I added a unique index to solve:
   ALTER TABLE `t_ds_task_definition_log` DROP INDEX `idx_code_version`, ADD 
UNIQUE `idx_code_version` (`code`, `version`) COMMENT '';
   
   ### Version
   
   2.0.5
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


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