Description
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 for customer_grid
which should be in realtime
mode ("Update on Save"). This is documented here in the devdocs and the Site-Wide Analysis Tool reports this also.
Currently Magento renders all indexers as 'green' when they are in schedule
mode, including customer_grid
. This is misleading as the customer_grid
is not in the recommended state when set as schedule
and shows in 'red' when in realtime
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
- Set all indexers as
realtime
with:php bin/magento indexer:set-mode realtime
- Observe colours for each indexer in admin (System -> Tools -> Index Management)
- Set all indexers as
schedule
with:php bin/magento indexer:set-mode schedule
- Observe colours for each indexer in admin (System -> Tools -> Index Management)
- Set the
customer_grid
indexer asrealtime
with:php bin/magento indexer:set-mode realtime customer_grid
- Observe colours for each indexer in admin (System -> Tools -> Index Management)
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 (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status