Repository navigation
docs: explain what happens when a full Elasticsearch reindex fails partway - #2695
Daniel Kirkland (d-kirkland) wants to merge 1 commit into
Conversation
…rtway Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Developer Docs healthcheckStatus: Completed with |
Developer Docs healthcheckStatus: Running. |
2 similar comments
Developer Docs healthcheckStatus: Running. |
Developer Docs healthcheckStatus: Running. |
|
This PR was AI generatated. The system that is creating these PRs is continually evolving (or potentially, devolving). Comments or changes made to the PRs are analyzed and used as material for improving the docs generation and improvement system. The workflow that created this PR is an advancement based on the comments and changes that were made to PRs over the last few weeks. |
Summary
es:indexrun fails partway: there is no rollback, and the guide says which index is live, which indices stay, and what a new full run does to earlier ones.doc_countinelasticsearch_index_taskis lowered as soon as a message is handled, including for failed batches and Messenger retries, and that the alias can therefore switch to an index that is missing documents.SHOPWARE_ES_THROW_EXCEPTIONis enabled (default1) or the environment istest.CreateAliasTaskalias switch, which commands run it, and whates:index:cleanupandes:resetremove.Related links
guides/hosting/infrastructure/elasticsearch/elasticsearch-debugging.md(edited)v6.7.15.1), the lines each statement is based on:ElasticsearchIndexer.phpL164ElasticsearchIndexer.phpL211-L217ElasticsearchIndexer.phpL229-L238ElasticsearchIndexer.phpL250-L257ElasticsearchIndexer.phpL189-L200ElasticsearchIndexer.phpL297-L313IndexCreator.phpL97IndexCreator.phpL158-L170ElasticsearchHelper.phpL44-L53elasticsearch.yamlL301services.phpL556ElasticsearchStatusCommand.phpL59ElasticsearchStatusCommand.phpL71-L72ElasticsearchIndexingCommand.phpL90-L91ElasticsearchIndexingCommand.phpL105-L106ElasticsearchCreateAliasCommand.phpL34-L36CreateAliasTask.phpL17-L20CreateAliasTaskHandler.phpL56-L79CreateAliasTaskHandler.phpL95-L121ElasticsearchOutdatedIndexDetector.phpL33-L39ElasticsearchOutdatedIndexDetector.phpL57-L66ElasticsearchResetCommand.phpL48ElasticsearchResetCommand.phpL56-L62ElasticsearchResetCommand.phpL73framework.yamlL72-L76ElasticsearchIndexingMessage.phpL12framework.yamlL96Checklist
PageRefreferences where relevant..gitbook.yamlif pages were moved, renamed, or deleted..wordlist.txt(and sorted it) if spellcheck flags new legitimate terms.Dependent PRs
Notes
v6.7.15.1):src/Core/Framework/Resources/config/packages/framework.yaml;src/Elasticsearch/DependencyInjection/services.php;src/Elasticsearch/Framework/Command/ElasticsearchCreateAliasCommand.php;src/Elasticsearch/Framework/Command/ElasticsearchIndexingCommand.php;src/Elasticsearch/Framework/Command/ElasticsearchResetCommand.php;src/Elasticsearch/Framework/Command/ElasticsearchStatusCommand.php;src/Elasticsearch/Framework/ElasticsearchHelper.php;src/Elasticsearch/Framework/ElasticsearchOutdatedIndexDetector.php;src/Elasticsearch/Framework/Indexing/CreateAliasTask.php;src/Elasticsearch/Framework/Indexing/CreateAliasTaskHandler.php;src/Elasticsearch/Framework/Indexing/ElasticsearchIndexer.php;src/Elasticsearch/Framework/Indexing/ElasticsearchIndexingMessage.php;src/Elasticsearch/Framework/Indexing/IndexCreator.php;src/Elasticsearch/Resources/config/packages/elasticsearch.yaml.es:admin:index) handles progress and alias switches..wordlist.txtmay need a word if CI flags one. There are no dependent pull requests.main(Shopware 6.7) only.🤖 Generated with Claude Code