-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[Backport] Fix layout xml and page layout caching issue on redis cluster under high load #22625
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
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.
LGTM, previous attempt to fix this issue was performed in #16428 (comment), this one looks better from perfomance perspective.
I've found two issues in previous fix for the issue:
|
Hi there! |
@andrey-legayev thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
@andrey-legayev nope, it is not good but EngCom guys are aware of it and it should be fixed soon. Sorry, just noticed, we need to apply changes against |
…igh 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
This fix has been already included into v2.2.9 by cherry-picking commit. |
Hi @andrey-legayev, thank you for your contribution! |
Original Pull Request
#22766
Description (*)
Bugs which were fixed:
Changes:
Fixed Issues (if relevant)
Manual testing scenarios (*)
N/A
Contribution checklist (*)