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

Persistent Indexer Status in DB #49

Open
gavindoughtie opened this issue May 8, 2022 · 0 comments
Open

Persistent Indexer Status in DB #49

gavindoughtie opened this issue May 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@gavindoughtie
Copy link
Contributor

As we will be running multiple indexers pointing at discontiguous block ranges and receiving results asynchronously, we should track status in the DB itself. As a start, we'll want to keep track of which blocks we have successfully indexed, which blocks we have tried and failed, what the ranges of contiguous blocks are, etc. This way newly launched indexers can dynamically configure themselves to avoid doing redundant work or triggering "primary key already exists" errors unnecessarily.

@gavindoughtie gavindoughtie added the enhancement New feature or request label May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant