-
Notifications
You must be signed in to change notification settings - Fork 180
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
Ingestion engine does not handle EN falling far behind #5298
Comments
Two Approaches for implemention Goal: implement a stateful ingestion module that keeps track of the next X number of blocks to get ready for execution. Requirements:
Challenges:
Approach 1: In Memory state machine
Approach 2: Build a BlockProcessable history on disk
|
j1010001
changed the title
Refactor ingestion engine to support catching up from far behind
Ingestion engine does not handle EN falling far behind
Jan 30, 2024
Related to #5161 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The problem:
When Execution node falls far behind the latest block (for example when it is stopped for a longer period of time) it can fail to start and enters a crash loop, which causes extra load on the network. The root cause is the ingestion engine, which attempts to request collections for all unexecuted blocks. This loads the collection nodes with many requests, and creates high traffic on the network. The EN then fails to fit all the collections into memory, crashes and this cycle repeats.
Goal: Refactor ingestion engine to handle this edge case.
The text was updated successfully, but these errors were encountered: