On develop, when indexer instantiation fails, forc index status will display the last status from the database. This may be running, Indexed 12345 blocks.
This PR adds IndexerStatusKind::Instantiating to avoid this situation.
In addition, if the indexer instantiation fails, the status is set to error and a proper message is displayed:
Description
On
develop
, when indexer instantiation fails,forc index status
will display the last status from the database. This may berunning
,Indexed 12345 blocks
.This PR adds
IndexerStatusKind::Instantiating
to avoid this situation.In addition, if the indexer instantiation fails, the status is set to
error
and a proper message is displayed:Testing steps
maciej/1437-entity-find
and start the indexer:develop
, and restart the indexer without--manifest
to keep the incompatible indexer in the database.forc index status
to see the incorrect status.maciej/add-more-indexer-statuses
, and restart the indexer (again, without--manifest
).forc index status
to see the correct status and error.