Signals to inspect
The current
behind threshold is more than 15 seconds of indexed-time lag. A short passing sample is evidence of that sample, not an uptime guarantee.
Stale index investigation
- Confirm the configured chain and protocol identity.
- Read the API’s actual indexed timestamp and compare it with chain head time.
- Check whether the worker checkpoint is advancing.
- Check whether the API projector can verify canonical hashes and acquire its lock.
- Inspect RPC rate-limit, range-limit, and certificate errors.
- Restore the failing dependency, then observe catch-up and a verified receipt.
Reorganizations
The worker rolls back reorganized entities. The API verifies canonical hashes and replays affected projections rather than silently filling an Envio gap with a second history source. Preserve offchain accounts and other application records. Do not manually set a cursor to the latest block just to make a health indicator green. That can omit events while falsely claiming freshness.Deliberate index replay
Changing a contract address or start block requires a reviewed replay plan. Back up the relevant state, verify that the worker targets its dedicatedenvio schema, and check compatibility with the API projector.
The documented HyperIndex reset command is pnpm exec envio start -r, run in the indexer package with its intended environment. It deliberately rebuilds index state. Use it only for the dedicated worker schema and never as a general application-database reset. A source-RPC setting change alone can normally resume the existing checkpoint and does not justify a reset.