-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
fix for #38315 issue (Missing indexing of required columns in catalog_product_entity_int table) #38316
base: 2.4-develop
Are you sure you want to change the base?
Conversation
…catalog_product_entity_int table)
Hi @rostilos. Thank you for your contribution! Add the comment under your pull request to deploy test or vanilla Magento instance:
❗ Automated tests can be triggered manually with an appropriate comment:
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
According to failed tests, it works fine for Magento Open Source but won't work for Magento Commerce / B2B (conflicts with the Content Staging feature). |
Yeah, I'll try to fix that |
Co-authored-by: Ihor Sviziev <[email protected]>
@magento run Database Compare |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
@ihor-sviziev
|
@engcom-Hotel maybe you can help with fixing b2b/ee part? |
@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Static Tests, WebAPI Tests |
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests CE, Integration Tests, WebAPI Tests |
✔️ QA Passed Added the missing indexing of required columns in catalog_product_entity_int table As mentioned in the related issue i.e. #38315 (comment), the reproduction of this issue is not possible. but we can move ahead by looking into the changes of the PR, the PR is creating an index on the Hence moving forward with this PR for approval on Thanks |
Created internal JIRA tickets https://jira.corp.adobe.com/browse/AC-11055 and https://jira.corp.adobe.com/browse/AC-11056 for database compare and SVC failure approvals. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @rostilos
Thank you for your contribution
It looks good for me.
Great job.
Looks like we need to wait passing of the approval ticket.
Bot moved this PR from |
Description (*)
Added indexing of entity_id column to avoid cases of "hang" of select query in mysql ( full description of the problem is in linked issue )
For example, after edits, the SELECT query specified in the issue are successful and in a fraction of a second
![2023-12-25_21-44](https://private-user-images.githubusercontent.com/85498741/292776916-c923ec33-9669-4b4d-a1e3-5526f8096060.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzM4MzUsIm5iZiI6MTczODkzMzUzNSwicGF0aCI6Ii84NTQ5ODc0MS8yOTI3NzY5MTYtYzkyM2VjMzMtOTY2OS00YjRkLWExZTMtNTUyNmY4MDk2MDYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEzMDUzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThkY2E4OTEyN2Q2MTcyYTUwZTYzYjFhYmIzMTA0YzBmODc1NzRiNTIyNjI4NjY3ODkxNmQyODkzOTkxNjczOWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.16FIHUO8pTjKc8pAi4NPjz92ZpJlWZ3yQfiIZpgaVJo)
![2023-12-25_21-44_1](https://private-user-images.githubusercontent.com/85498741/292776927-5573c41c-a64f-4af2-bd23-13195b31e541.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzM4MzUsIm5iZiI6MTczODkzMzUzNSwicGF0aCI6Ii84NTQ5ODc0MS8yOTI3NzY5MjctNTU3M2M0MWMtYTY0Zi00YWYyLWJkMjMtMTMxOTViMzFlNTQxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEzMDUzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIxOWQ4NzU4ZGIxMjg1ZDhiMDBiY2MyYjgzZDgyNGU3ZGQ1MjY5MzIwM2JmNjJlNmQ2MTg3NzM4ZjlhZjg2MzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.OWUZMKW8SEMy-k3PDl_cBcxxMxKTOlUN7TH_tk-nPqU)
Related Pull Requests
https://github.com/magento-gl/magento2ee/pull/271
Fixed Issues (if relevant)
Manual testing scenarios (*)
1.A relatively large catalog is needed.
In a test environment, it is reproduced on a test catalog generated with the
bin/magento setup:perf:generate-fixtures setup/performance-toolkit/profiles/ce/extra_large.xml
2. Start the reindex process
bin/magento indexer:reset
bin/magento indexer:reindex catalogsearch_fulltext
3. Successful reindex
Questions or comments
Contribution checklist (*)