Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 901bd65

Browse files
committed
MCP-88: Refactor indexer blocking algorithm
1 parent 6bf70ee commit 901bd65

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/guides/v2.4/extension-dev-guide/indexing.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,9 @@ The admin status can be seen when viewing the indexer grid in Magento Admin or w
9494

9595
The Magento indexing mechanism uses the status value in reindex triggering process. You can check the status of an indexer in the [Admin](https://glossary.magento.com/admin) panel in **System >** Tools **> Index Management** or manually using the [command line]({{ page.baseurl }}/config-guide/cli/config-cli-subcommands-index.html#view-indexer-status).
9696

97-
### Using application lock mode for reindex process
97+
### Using application lock mode for reindex processes
9898

99-
Starting from 2.4.3 its possible to enable using application lock mode for reindex process through the environment variables or in `app/etc/env.php`.
100-
101-
Example of configuration in `app/etc/env.php`
99+
Starting with 2.4.3, you can enable `use_application_lock` mode for reindexing through the use of environment variables, or in `app/etc/env.php`:
102100

103101
```php
104102
<?php
@@ -109,10 +107,11 @@ return [
109107
];
110108
```
111109

112-
Using this mode will allow to get the correct status of the indexer in case of a failure in the completion of its process.
110+
In case of a failure, this mode will return the correct status of the indexer.
111+
112+
The current status can be obtained from the indexer grid in Magento Admin or through the index status in the CLI.
113113

114-
Since this mode expands the functionality of checking the status, the current status can be obtained only through viewing the indexer grid in Magento Admin or when running the index status from the CLI.
115-
When this option is used, the values in the SQL table `indexer_state` may indicate an irrelevant status value.
114+
When this option is used, the values in the SQL table `indexer_state` may not be up to date.
116115

117116
### Indexing modes {#m2devgde-indexing-modes}
118117

0 commit comments

Comments
 (0)