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

IF: P2P: Reset syncing on unlinkable blocks #2216

Closed
wants to merge 2 commits into from

Conversation

heifner
Copy link
Member

@heifner heifner commented Feb 6, 2024

Block producers drop blocks when producing. If a block producer is syncing when they start producing blocks, they will drop blocks causing unlinkable blocks on blocks processed after block production is complete.

Reset sync on unlinkable blocks allowing node to more quickly recover.

Adds new lib_advance_test.py which fails without PR changes.

Plan to target 5.0 after this PR is merged.

Related #2159
Resolves #2215

@heifner heifner added the OCI Work exclusive to OCI team label Feb 6, 2024
@heifner heifner linked an issue Feb 6, 2024 that may be closed by this pull request
@ericpassmore
Copy link
Contributor

Note:start
group: IF
category: INTERNAL
summary: Improve uptime when producer is syncing blocks, by resetting sync on un-linkable blocks.
Note:end

@heifner heifner requested a review from linh2931 February 6, 2024 19:14
@heifner
Copy link
Member Author

heifner commented Feb 7, 2024

Redirected PR at main, #2220

@heifner heifner closed this Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unlinkable block storm when syncing a block producer
3 participants