-
Notifications
You must be signed in to change notification settings - Fork 9.4k
fix for #38315 issue (Missing indexing of required columns in catalog_product_entity_int table) #38316
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
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? |
I'm in favor of this PR, but don't we also need to keep the standalone |
@magento run all tests |
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.
Hi @engcom-Hotel
Looks like comment #38316 (comment) from @tdgroot were missed.
I'm agree with it and update looks like regression. We should add new index instead of update exist one.
Valid point made by @tdgroot here #38316 (comment). Thanks @Den4ik for highlighting this. Moving this PR in Thanks |
@engcom-Hotel I agree with the comments above. Ok, will add this soon and test it from my end |
Thanks @rostilos, please let us know when are done with the changes. Meanwhile moving this PR as 'draft'. |
@engcom-Hotel added requested edits Also, I remind you that the corresponding changes should be added to the EE version |
@magento run all tests |
@magento run all tests |
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.
@engcom-Hotel Changes looks good. Please assist with updates for EE and B2B
@magento run all tests |
@magento run Functional Tests B2B, Functional Tests EE, Static Tests, Unit Tests |
Hi @rostilos, Thank you for your contribution! @ihor-sviziev and @Den4ik thank you for the review. The mentioned changes have been already taken care in the attached Related PR https://github.com/magento-gl/magento2ee/pull/271, please find the changes below and the functional EE test is green. ![]() ![]() I have fixed the static test failure in the same above EE PR. I also dont see any need for these approval JIRAs as the SVC and Database compare are working fine now. The Functional B2B failure is not consistent in recent 2 builds and it seems to be flaky. Run 1: ![]() @ihor-sviziev requesting you for review once so that we can able to proceed further on this PR. Please let me know if anything else is needed. |
@magento run Static Tests |
Thank you @ihor-sviziev for the quick check and approval. QA has been done as mentioned here. Hence moving the PR to Extended Testing to look into the static failure. |
Static test is green now and B2B is flaky as mentioned above. Hence moving this PR to Merge in Progress. |
0ac260f
into
magento:2.4-develop
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


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 (*)