-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Price indexers make queries flood MariaDb until the site drops (Please reopen #36667) #36780
Comments
Hi @ioweb-gr. Thank you for your report.
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. |
Normally rename shouldn't take that long to execute unless the table is locked. I think there are multiple locks placed on the tables during price indexing which cause deadlock and that's why rename gets stuck there. When the rename got finished, all other queries finished fast. We're really buffled as to what is causing these random downtimes due to this and eliminated all other factors we could |
Hi @engcom-Dash. Thank you for working on this issue.
|
Hi @ioweb-gr , Kindly Provide Additional Information About this issue...It's very easy to proceed further.So Kindly Update below information Thanks. |
@engcom-Dash The problem is I can't find the proper steps to reproduce. Could you please provide any input as where those queries could be coming from so we can add some logs perhaps that can help us find the steps to replicate? |
Today I faced this issue again and caught it really early and briefly I noticed that the holdup came when the indexer was renaming price tables to _outdated or something like this I'm assuming to move the replica table into it's place.
During these rename queries, the other queries started piling up and the system dropped.
On my system the price tables are fairly large now.
So renaming a table like this would most likely take considerable time.
This is a followup on #36667
The text was updated successfully, but these errors were encountered: