klesh opened a new issue, #5733: URL: https://github.com/apache/incubator-devlake/issues/5733
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened When multiple subtasks belonging to the same plugin are running in parallel, they might try to create the same `raw table` at the same time, which of cause would cause problems: <img width="348" alt="Snipaste_2023-07-25_09-08-09" src="https://github.com/apache/incubator-devlake/assets/61080/aa55febf-0648-40d9-8f9a-0b637d4455d9"> ### What do you expect to happen raw tables should be created successfully ### How to reproduce 1. create project 2. add multiple connections from the same plugin 3. add one scope for each connection 4. trigger project and see error ### Anything else _No response_ ### Version v0.18.0-beta2 ### 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]
