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

Ask block when not present #2213

Merged
merged 8 commits into from
Jun 30, 2021

Conversation

matkt
Copy link
Contributor

@matkt matkt commented May 3, 2021

Signed-off-by: Karim TAAM [email protected]

PR description

Two nodes stopped importing this weekend. This PR is a fix candidate. The nodes were late and some blocks were not stored in the pending blocks cache (because there is a size limit with announced blocks). At the time of importing the missing block, Besu did not find the block and stopped; Here is my theory. So I implemented a mechanism that directly asks the missing blocks to peers in these cases

Fixed Issue(s)

Changelog

Signed-off-by: Karim TAAM <[email protected]>
@matkt matkt changed the title Fix missing ask block when not present Ask block when not present May 3, 2021
Signed-off-by: Karim TAAM <[email protected]>
@matkt matkt linked an issue May 4, 2021 that may be closed by this pull request
@matkt matkt force-pushed the feature/fix-missing-announced-block branch from 80499e7 to 325308b Compare June 28, 2021 12:32
@RatanRSur RatanRSur marked this pull request as ready for review June 28, 2021 15:25
Signed-off-by: Karim TAAM <[email protected]>
@matkt matkt requested a review from RatanRSur June 29, 2021 15:09
@matkt matkt enabled auto-merge (squash) June 30, 2021 07:41
@matkt matkt merged commit e2356c9 into hyperledger:master Jun 30, 2021
@matkt matkt deleted the feature/fix-missing-announced-block branch March 11, 2022 08:11
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
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.

Add fix to prevent the node from stopping downloading blocks
3 participants