-
Notifications
You must be signed in to change notification settings - Fork 54
Indexer Resilience & Reorg Recovery #226
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programbackendcomplexity-highdatabaserealtimestellar-wave
Description
dDevAhmed
opened on May 28, 2026
Issue body actions
- 📚 Overview: Refactor the IndexerService to handle chain reorganizations and ensure data idempotency.
- 🎯 Objectives:
- Implement block sequential queue
- Transactional block persistence
- Intelligent RPC backoff
- 🧠 Problem Context: The current indexer can double-process events or fail to roll back state on orphaned blocks.
- 🧩 Technical Scope: IndexerService.ts, EventProcessor.ts, Prisma schema.
- ✅ Acceptance Criteria:
- Successful recovery after 10-block reorg in local test
- Idempotent processing confirmed by duplicate logs
- Backoff logic handles 429 errors
- 🔐 Security / Integrity Considerations: Incorrect indexing leads to stale balances and broken protocol invariants.
- ⏳ Complexity & Effort: High
- 🔗 References: Internal Ref #BE-MATURE-001
- 🏷️ Labels: backend, realtime, database, stellar-wave, complexity-high
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programbackendcomplexity-highdatabaserealtimestellar-wave
Type
Fields
Give feedbackNo fields configured for issues without a type.