-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Added support for process fork to mview indexation #38248
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
Added support for process fork to mview indexation #38248
Conversation
Hi @MateuszMesek. 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. |
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 @MateuszMesek
Thank you for your contribution
Fixes look nice for me
Approved
@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 |
Hello @MateuszMesek, Thanks for the collaboration! ❌ QA not Passed We are unable to reproduce the issue in the latest development branch 2.4-develop. Please refer to the below steps we have followed to reproduce the original issue:
But the process went well and we do not see any Please let us know if we missed anything to reproduce the issue. Thanks |
Hello @MateuszMesek, Have you had a chance to check this comment, #38248 (comment)? Thanks |
Hello @engcom-Hotel This issue occurs only when Mview action use This issue can be reproduce only by prepare custom code, you can't reproduce in vanilla instance. |
Hello @MateuszMesek, Thanks for the reply! We have tried with custom mview action using Please find attached the module for reference: Let us know if we have missed anything. Thanks |
Hello @engcom-Hotel I updated code of your module to allow test our issue. My steps to replicate issue are:
|
Hello @MateuszMesek, Thanks for the updated code, but the issue is still not reproducible for us with the latest development branch i.e. 2.4-develop. I request you to please try to reproduce the issue in the latest development branch and let us know if this is still reproducible for you. Thanks |
Hello @MateuszMesek, I trust you've reviewed this comment. We are still unable to reproduce the issue with the latest development branch i.e. 2.4-develop. Kindly reconsider this and inform us if anything has been overlooked. Thanks |
Hello @engcom-Hotel Yes, I can still reproduce this issue on latest commit (c971859) in development branch 2.4-develop. We have modified code of Magz_Merchandizing module to display processed ids in output in case when we call cron job. On my local environment in case when I add list of ids to changelog table (
And inside var/log/cron.log file:
Please remember about have installed pcntl module in PHP.
|
Hello @MateuszMesek, Appreciate your response! Before I proceed, could you please resolve the conflicts? Once that's done, we can move forward with the next steps. Thanks |
bcc7ec7
to
8317902
Compare
@magento run all tests |
@engcom-Hotel done |
Thanks @MateuszMesek for the reply! We are able to reproduce the issue on the development branch. ✔️ QA Passed Added support for process fork to MView indexation Manual testing scenario:
Actual Result: ✔️ Tested all the manual scenarios, no impact on regression testing. |
@magento run Functional Tests B2B, Functional Tests EE, WebAPI Tests |
@magento run Functional Tests B2B, Functional Tests EE, WebAPI Tests |
1 similar comment
@magento run Functional Tests B2B, Functional Tests EE, WebAPI Tests |
@magento run Functional Tests EE |
Description (*)
Added support for process fork to MView indexation
Related Pull Requests
#36155
Fixed Issues (if relevant)
Manual testing scenarios (*)
Magento\Indexer\Model\ProcessManager
insideMAGE_INDEXER_THREADS_COUNT=2
indexer_update_all_views
cron jobContribution checklist (*)