-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deadlock for 2 simple insert queries on shipperhq_quote_package_items table #28
Comments
We experience the issue and it seems to be affecting the checkout. |
If you email support@shipperhq.com with the steps to reproduce and include details of the environment (Magento 2 version, PHP version and MySQL version) and registered domain name we will get this tested out and raised with our developers accordingly. |
@wsajason |
Reproduced on: |
@sshymko We will follow up accordingly via email. |
Hi there, While saving the model \ShipperHQ\Shipper\Model\Quote\Packages->save(),
If two different process will save these objects on same time we got deadlock, it is happen because after insert and delete MySQL locks for both transactions foreign key package_id. This is script to reproduce deadlocks:
now session 2 got deadlock. |
We've just released a update which I believe should alleviate the issue. Please update and retest. Let us know if you still see issues, I'll leave this issue open until you confirm the update resolves it for you. |
- Resolve shipperhq#28 Deadlock for 2 simple insert queries on shipperhq_quote_package_items table
Thanks for this, I've escalated this up and will get back to you by tomorrow morning. Appreciate your input |
We faced to deadlocks with simple INSERT on table shipperhq_quote_package_items.
Info from "SHOW ENGINE INNODB STATUS".
Link for same problem with deadlocks for 2 simple insert on one talbe.
We use last vesrion your extension.
The text was updated successfully, but these errors were encountered: