-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Fix layout xml and page layout caching issue on redis cluster under high load #22766
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 layout xml and page layout caching issue on redis cluster under high load #22766
Conversation
Hi @andrey-legayev. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
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.
After changes are applied and all builds are green, please squash them into a single commit so that we have perfectly clean history 😉
Hi @ihor-sviziev, thank you for the review. |
Hi @orlangur, thank you for the review. |
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.
After changes are applied and all builds are green, please squash them into a single commit so that we have perfectly clean history 😉
Why can't you apply pull requests with "merge squash" option? I saw it in other github repositories. |
@andrey-legayev I suggested it already, there were some concerns regarding commits authorship from EngCom guys. So for now should do it manually. |
Hi @orlangur, thank you for the review. |
I reviewed all reports of Static Tests build / Static tests for CE. |
@VladimirZaets, @orlangur Can static tests failures be approved taking into account |
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.
@andrey-legayev static tests are now fixed, but changes must be squashed.
I have only one commit in this pull request. The rest belong to @xmav |
@andrey-legayev sure, just squash all changes under your single commit. If you don't feel so, there could be a second squashed commit by @xmav but I don't see a reason to do so. |
Fill free to squash all changes under single commit |
commit 8ba60263e9ad5e822b7b7efc1b25044083156778 Author: Maksym Aposov <[email protected]> Date: Wed May 22 18:28:50 2019 -0500 Fix layout xml and page layout caching issue on redis cluster under high load -Fixed static tests commit 8112423572d913a72cc41516cb82739a3e2cf2d8 Author: Maksym Aposov <[email protected]> Date: Wed May 22 18:27:54 2019 -0500 Fix layout xml and page layout caching issue on redis cluster under high load -Fixed static tests commit 9406be5d973b4d797b6eff86179ab83f5bc10f0f Author: Maksym Aposov <[email protected]> Date: Wed May 22 13:38:09 2019 -0500 Fix layout xml and page layout caching issue on redis cluster under high load -Fixed static tests commit f637c2258c6c8f0cc71d1726da18ae652a85791f Author: Andrey Legayev <[email protected]> Date: Thu May 16 15:48:03 2019 +0300 Fix layout xml and page layout caching issue on redis cluster under high load Bugs which were fixed: - $this->pageLayout was not checked after reading from cache, but was used as is - two cache items were used in once place instead of one (performance impact) Changes: - replace 2 cache items by 1 - it should improve performance - add "_MERGED" to cache key suffix to have compatibility with old cache keys during deployment of new version
Squashed. I hope this is last squash in this PR... |
Hi @orlangur, thank you for the review. |
✔️ QA passed |
@magento-cicd2 unfortunately, only members of the maintainers team are allowed to unassign developers from the pull request |
This fix has been already included into v2.3.2 by cherry-picking commit b65ff72. |
Hi @andrey-legayev, thank you for your contribution! |
Description (*)
Bugs which were fixed:
Changes:
Fixed Issues (if relevant)
Manual testing scenarios (*)
N/A
Contribution checklist (*)