The MDVA-30102 patch solves the issue of the Redis cache getting full and generating errors, causing problems with Product Listing Pages (PLP) and Product Detail Pages (PDP), such as missing products. This patch is available when the Quality Patches Tool (QPT) 1.0.6 is installed.
The patch is created for Adobe Commerce version:
Compatible with Adobe Commerce versions:
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches
package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.
Redis cache is getting full, and the allocated maxmemory
appears to be insufficient. The layout cache didn’t have TTL and was not evicted, causing cache growth and eviction of other keys in Redis. As a result, all Redis memory was allocated for layout cache.
Prerequisites:
Steps to reproduce:
redis-cli -p REDIS_PORT -h REDIS_HOST info | egrep --color "(role|used_memory_peak|maxmemory|evicted_keys|uptime_in_days)"
Expected results:
Redis cache should not be rapidly growing.
Actual results:
Redis cache grows up to ~5GB. There is a max limit of 8GB of Redis memory, so if you have 1M products, you will run out of memory very quickly.
To apply individual patches, use the following links depending on your deployment method:
To learn more about Quality Patches Tool, refer to:
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.