Skip to content

Issue 085: Add indexer catch-up backfill tool with ledger range checkpoints #880

Description

@orunganiekan

Category: Backend
Complexity: 200 points
Labels: backend, wave-200

Context

Indexer resumes from meta last_ledger; replay-events.ts exists for audit.

Problem

Gaps after prolonged downtime need controlled backfill without duplicating or skipping ledgers.

Goal

Implement/harden backfill mode with start/end ledger, checkpointing, and rate limits compatible with RPC.

Scope

Includes: replay/backfill script UX + tests.
Does NOT include: archive node operations.

Implementation Guidelines

  • Files: replay-events.ts, indexer.ts shared fetch helpers, query-events.ts.

Acceptance Criteria

  • Checkpoint progressive
  • Idempotent upserts
  • Rate limit configurable

Validation

Backfill a small ledger range twice; row counts stable.

PR Expectations

The PR should include:

  • Backfill mode + tests


Activity

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

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programbackendwave-200200-point contribution wave issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions