Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: skipped events near end of historical range #1160

Merged
merged 9 commits into from
Oct 12, 2024
Merged

Conversation

kyscott18
Copy link
Collaborator

Closes #1159

Description

Fixes a bug reported by several users where events were skipped in the historical backfill.

This bug was a result of a race condition that would cause the main dispatching loop (extract events from db => run the indexing functions) to exit early when indexing a batch of events took longer than the time it took to fetch the events from the RPC.

Other

I also added some helper function to sync/index.ts while debugging that I think are a positive change.

@kyscott18 kyscott18 merged commit c75f658 into main Oct 12, 2024
7 of 8 checks passed
@kyscott18 kyscott18 deleted the kjs/fix-missing branch October 12, 2024 22:09
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.

Incomplete Event Indexing on Initial Run After Upgrade to Ponder v0.6
1 participant