-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: IndexerIssue: needs updateAdditional information is require, waiting for responseAdditional information is require, waiting for responseReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject it
Description
Preconditions (*)
- Magento 2.2.6
- MySQL 5.7.23 (Amazon RDS)
- Jenkins
- A huge store with 250000 products, and each product has more than 200 attributes.
Steps to reproduce (*)
- We're using Jenkins for continuous integration.
- When running "bin/magento setup:upgrade" from the jenkins build server, it takes a really long time (sometimes 1 hour+).
- After viewing MySql server processes, I can see that there's a lot queries with "Waiting for table metadata lock".
- It seems to be stuck on "Magento_Indexer":
Data post-updates:
Module 'Magento_Store':
Module 'Amasty_Base':
Module 'Amasty_Geoip':
Module 'Amasty_Scroll':
Module 'Amasty_ShopbyBase':
Module 'Magento_Directory':
Module 'Amasty_ShopbyBrand':
Module 'Magento_Theme':
Running data recurring...
Module 'Magento_Eav':
Module 'Magento_Customer':
Module 'Magento_Indexer':
Expected result (*)
- "bin/magento setup:upgrade" shouldn't take so long.
- No waiting for metadata locks.
Actual result (*)
2.
3. We're getting metadata locks and it can takes over an hour for them to disappear.
convenient, sheshagiriAnvekar, otezz, Aquive, Nuranto and 2 more
Metadata
Metadata
Assignees
Labels
Component: IndexerIssue: needs updateAdditional information is require, waiting for responseAdditional information is require, waiting for responseReported on 2.4.xIndicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject itIssue related to Developer Experience and needs help with Triage to Confirm or Reject it