ACSD-66865: Saving a Catalog Price Rule invalidates indexers and provides an alternative to reindex only affected products
The ACSD-66865 patch fixes the issue where saving a Catalog Price Rule invalidates indexers and provides an alternative to reindex only affected products. This patch is available when the Quality Patches Tool (QPT) 1.1.68 is installed. The patch ID is ACSD-66865. Please note that this issue was fixed in Adobe Commerce 2.4.8.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p5
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.7 - 2.4.7-p6
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
Saving a Catalog Price Rule causes all indexers to be invalidated, triggering full reindexes instead of reindexing only affected products.
Steps to reproduce:
- Ensure cron isn’t running and all indexers are set to update on schedule (except
customer_gridwhich can update on save). - Run a full manual reindex using the command:
php bin/magento indexer:reindex. - Verify all indexes show status Ready with 0 items in the backlog.
- On the Admin sidebar, go to Marketing > Promotions > Catalog Price Rule. Create an active catalog price rule for a single product (for example, using a SKU condition).
- Run the command:
php bin/magento indexer:statusto check indexer status. - Observe that multiple indexes are marked as Reindex Required even though only one product is affected.
Expected results:
Only the affected product data is identified, and a partial reindex is triggered instead of a full reindex across all indexers.
Actual results:
A full reindex is triggered for all indexers, even when only a single product is affected by the Catalog Price Rule.
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.