Skip to content

Indexer has no backoff/alerting for sustained Soroban RPC downtime #17

Description

@anitajordan22244-afk

services/backend's indexer (indexer/soroban_rpc.rs) polls Soroban RPC's getEvents on a fixed interval (POLL_INTERVAL_SECONDS), but there's no documented/tested behavior for sustained RPC downtime — no backoff, no alerting, no dead-letter handling if getEvents fails repeatedly.

To do: add exponential backoff on repeated RPC failures, log/alert when the indexer falls behind (compare last successful poll's ledger to current network ledger), and add a test that simulates RPC errors to confirm the poller recovers instead of crash-looping or silently stalling.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions