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

Indexer back-to-back jobs after reorg #10

Open
whittlbc opened this issue May 30, 2023 · 0 comments
Open

Indexer back-to-back jobs after reorg #10

whittlbc opened this issue May 30, 2023 · 0 comments
Assignees
Labels
bug Something isn't working indexer P2

Comments

@whittlbc
Copy link
Member

whittlbc commented May 30, 2023

Handle the case where there are multiple rollbacks to the same block close enough together in time to cause multiple index jobs of the same block to run back-to-back, the first not being a replace job, but the second being a replace job. The first job shouldn't even be run at all because the rollback to <= that number has already occurred. Upserts are currently handling everything fine but this could get problematic as more data models are added.

@whittlbc whittlbc self-assigned this May 30, 2023
@whittlbc whittlbc added bug Something isn't working indexer P2 labels May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working indexer P2
Projects
None yet
Development

No branches or pull requests

1 participant