Skip to content

ReindexAll -> getState() is not correct if the Indexer broke with PHP fatal error  #11166

@larsroettig

Description

@larsroettig

If some fatal PHP error happens in the indexing process. The status is not correct reset
to StateInterface::STATUS_INVALID

Preconditions

  • Magento 2.3.0-dev

Steps to reproduce

  • Implement Indexer -> fatal error in executeFull()
  • executebin/magento indexer:reindex **your_index_name**

Expected result

  • Status is not working in Magento\Indexer\Model\Indexer line 404

Actual result

  • Status is working in Magento\Indexer\Model\Indexer line 404

Metadata

Metadata

Labels

Fixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedup for grabs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions