ACP2E-4448: Configuration changes made during Redis outages do not reflect after Redis recovers, and stale values persist
The ACP2E-4448 patch fixes issue where local cache and remote Redis cache could become unsynchronized when Redis is unavailable, and configuration changes made during Redis outages do not reflect after Redis recovers, causing stale values to persist. The fix ensures correct synchronization across all caches and preserves the latest saved values even when Redis is down. This patch is available when the Quality Patches Tool (QPT) 1.1.78 is installed. The patch ID is ACP2E-4448. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.8-p1
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.8 - 2.4.8-p4
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.Issue
L2 cache, local cache, stale cache, and Redis became unsynchronized when Redis was unavailable. Configuration changes made during Redis outages were not reflected after Redis recovered, causing stale values to persist.
Steps to reproduce:
- Configure the L2 cache using the
RemoteSynchronizedCachebackend with Redis as the remote backend and file cache as the local backend. - Navigate to Configuration > General > Contact > Email Options > Send Emails To.
- Update the Send Emails To value to 100@example.com.
- Refresh the page multiple times to confirm that the value is cached.
- Stop the Redis service to simulate a service interruption.
- Update Send Emails To value to 200@example.com.
- Start the Redis service.
- Refresh the configuration page.
Expected results:
Should show the new configuration value 200@example.com.
Actual results:
It shows the old configuration value 100@example.com.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.