You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "d4x1 (via GitHub)" <gi...@apache.org> on 2023/10/24 03:32:18 UTC
[PR] fix(webhook): remove duplicated database locks [incubator-devlake]
d4x1 opened a new pull request, #6309:
URL: https://github.com/apache/incubator-devlake/pull/6309
### ⚠️ Pre Checklist
> Please complete _ALL_ items in this checklist, and remove before submitting
- [x] I have read through the [Contributing Documentation](https://devlake.apache.org/community/).
- [x] I have added relevant tests.
- [x] I have added relevant documentation.
- [x] I will add labels to the PR, such as `pr-type/bug-fix`, `pr-type/feature-development`, etc.
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes.
Please fill out as many sections below as possible.
-->
### Summary
What does this PR do?
When posting a deployment via webhook, table cicd_deployments and cicd_deployment_commits don't need to be locked. If them are locked, will return an error like:
```
{
"success": false,
"message": "Error 1099 (HY000): Table 'cicd_deployment_commits' was locked with a READ lock and can't be updated (500)\nWraps: (2) Error 1099 (HY000): Table 'cicd_deployment_commits' was locked with a READ lock and can't be updated\nError types: (1) *hintdetail.withDetail (2) *mysql.MySQLError",
"causes": null,
"data": null
}
```
### Does this close any open issues?
Closes N/A
### Screenshots
Include any relevant screenshots here.
<img width="1321" alt="image" src="https://github.com/apache/incubator-devlake/assets/5844806/862cedaf-07b2-4eab-954a-a1673a3e7a74">
### Other Information
Any other information that is important to this PR.
--
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(webhook): remove duplicated database locks [incubator-devlake]
Posted by "d4x1 (via GitHub)" <gi...@apache.org>.
d4x1 merged PR #6309:
URL: https://github.com/apache/incubator-devlake/pull/6309
--
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: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org