Skip to main content

Indexer chain parked

The indexer parks one chain after a refused chain reorganisation repair: recognise the park, and tell a park the next retry heals from one needing a rebuild.

One chain stopped advancing while the indexer pod stays 1/1 Ready, because the indexer refused a chain reorganisation repair and parked the chain (failure_tag=repair). The indexer retries every 5 minutes, and a park that repeats on retry requires an index rebuild.

For a park with any other failure_tag, or a chain that is only lagging, use Ledger indexing stalled.

Symptoms

  • One chain stops advancing while indexer pods stay 1/1 Ready (probes check process state, not chain state).
  • Indexer logs (host.didx.evm-span) record EVM span chain parked; its siblings continue with failure_tag=repair and error_detail matching Repair stopped <reason> at retained floor <block>..
  • With observability alerting enabled, IndexerChainParked fires and stays active while retries keep parking the chain.

Checks

  1. Read the park log line across all indexer pods:

    kubectl -n dalp logs -l 'app.kubernetes.io/component in (indexer,indexer-rebuild)' --tail=500 \
      | grep 'EVM span chain parked'

    Confirm failure_tag is repair. Any other tag routes to Ledger indexing stalled.

  2. Read the reason in error_detail:

    • at-or-below-finality: the last common block between indexer and network sits at or below finality_block.
    • below-retained-floor: the last common block sits below rollup_block, the bottom of retained undo history.
  3. Inspect the chain's rewind floor in PostgreSQL. Find the serving schema (SELECT schema_name FROM idxr_deployment_registry WHERE is_serving;), then query its watermark row:

    SELECT chain_id, committed_block, rollup_block, finality_block
    FROM <schema_name>.idxr_chain_watermark
    WHERE chain_id = <chain id>;
  4. Wait up to 5 minutes for the automatic retry (or restart the indexer Deployment to trigger it immediately). On retry, the indexer drops cached headers for that chain and re-checks the common block against rollup_block and finality_block.

Actions

  • Retry succeeds: No new park line appears and committed_block advances. No further action is required.

  • Retry parks again with the same reason: Retained undo history does not reach back far enough, so further retries and restarts will keep parking the chain. Have a platform administrator start a rebuild (no Console button exists):

    curl -X POST "https://<console-host>/api/v2/admin/operator/blockchain-monitoring/reindexes" \
      -H "Authorization: Bearer <admin-token>" \
      -H "Content-Type: application/json" \
      -d '{"chainId": <chain id>}'

    One reindex runs at a time and rebuilds every configured network into a new dataset while the current dataset keeps serving. Reads for the parked chain remain frozen until promotion. Ensure every network's RPC pool serves historical blocks (What RPC provider does a rebuild need?) and track progress with Index rebuild after an upgrade and Platform status → Indexing (“Reindexing”).

Verify recovery

After a healing retry, committed_block advances and no new park lines appear. After a rebuild, the chain clears “Reindexing” on Platform status → Indexing.

Escalate

If the chain parks again with failure_tag=repair after a rebuild promotes, escalate to your DALP support contact as a platform defect with the chain ID, the park log line, error_detail and the row from idxr_chain_watermark.

How chain reorganisation repair works

Each indexer loop advances one chain into Ledger Data. When a chain hits a non-retryable fault, the indexer parks that chain alone, keeps sibling chains moving, and retries the parked chain every 5 minutes from its committed block.

The indexer retains undo data above rollup_block in idxr_chain_watermark. On networks with a finality distance of 1 or more, undo data is kept only above finality_block, and batches saved at or below finality_block keep none. The indexer refuses any rewind below rollup_block or at or below finality_block, even if a lagging node temporarily reports an older head. Lowering an existing network's finality distance from 1 or more to 0 requires a full dataset rebuild (Networks).