Skip to content

Fix LogPoller reprocessing entire block range on partial failure#1465

Merged
Krish-vemula merged 4 commits intodevelopfrom
cre/PLEX-2521
Mar 12, 2026
Merged

Fix LogPoller reprocessing entire block range on partial failure#1465
Krish-vemula merged 4 commits intodevelopfrom
cre/PLEX-2521

Conversation

@Krish-vemula
Copy link
Contributor

Description

Fixes excessive getBlock RPC calls caused by the LogPoller reprocessing already-succeeded blocks when a failure occurs partway through a block range. Previously, lastProcessedSlot was only updated after the entire range completed successfully any error (DB timeout, decoding failure, rate limiting) would cause the next tick to re-fetch and re-process every block from the start of the range. Now lastProcessedSlot advances incrementally after each successfully processed batch, so retries resume from where processing left off.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 24, 2026

✅ API Diff Results - No breaking changes


📄 View full apidiff report

@cl-sonarqube-production
Copy link

@Krish-vemula Krish-vemula merged commit b832e7d into develop Mar 12, 2026
55 of 56 checks passed
@Krish-vemula Krish-vemula deleted the cre/PLEX-2521 branch March 12, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants