[Issue] Show customer_grid indexer as green when realtime #34648
Labels
Area: Performance
Component: Indexer
feature request
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: ready for confirmation
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reported on 2.4.x
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
This issue is automatically created based on existing pull request: #34557: Show customer_grid indexer as green when realtime
Description
Magento recommends that all indexers be set in
schedule
mode ("Update by Schedule") except forcustomer_grid
which should be inrealtime
mode ("Update on Save"). This is documented here in the devdocs and the Site-Wide Analysis Tool reports this also.Screen-shot of Site-Wide Analysis Tool
Currently Magento renders all indexers as 'green' when they are in
schedule
mode, includingcustomer_grid
. This is misleading as thecustomer_grid
is not in the recommended state when set asschedule
and shows in 'red' when inrealtime
mode which is its recommended state.This pull request makes the colours match the recommended state for each indexer.
Related Pull Requests
None
Fixed Issues
None
Manual testing scenarios
realtime
with:php bin/magento indexer:set-mode realtime
schedule
with:php bin/magento indexer:set-mode schedule
customer_grid
indexer asrealtime
with:php bin/magento indexer:set-mode realtime customer_grid
Screen-shot of indexers all set 'Update on Save'
Screen-shot of indexers all set 'Update by Schedule'
Screen-shot of indexers set to their recommended modes
Questions or comments
I have made the function which determines the preferred mode public to allow for extensibility with plugins.
Should the Design Config Grid indexer also be in this category of 'prefer realtime mode'?
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: