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

Remove hash to append from the queue only if the step succeeds #4105

Merged
merged 4 commits into from
Jul 15, 2022

Conversation

fab-10
Copy link
Contributor

@fab-10 fab-10 commented Jul 14, 2022

Signed-off-by: Fabio Di Fabio [email protected]

PR description

In case of an error the first hash to fetch is lost, and then the backward sync tries to go ahead and start a forward sync.
Sample log
first-hash-not-retry.txt

This PR remove the hash from the queue only when its successfully fetched

Fixed Issue(s)

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

@fab-10 fab-10 added the mainnet label Jul 14, 2022
@fab-10 fab-10 marked this pull request as ready for review July 14, 2022 17:09
@daniellehrner daniellehrner enabled auto-merge (squash) July 15, 2022 07:49
@daniellehrner daniellehrner merged commit b25d6d8 into hyperledger:main Jul 15, 2022
codyborn pushed a commit to codyborn/besu that referenced this pull request Jul 31, 2022
…ledger#4105)

* Remove hash to append from the queue only if the step succeeds

Signed-off-by: Fabio Di Fabio <[email protected]>
codyborn pushed a commit to codyborn/besu that referenced this pull request Jul 31, 2022
…ledger#4105)

* Remove hash to append from the queue only if the step succeeds

Signed-off-by: Fabio Di Fabio <[email protected]>
Signed-off-by: Cody Born <[email protected]>
@fab-10 fab-10 deleted the retry-execute-sync-step branch November 8, 2022 13:29
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
…ledger#4105)

* Remove hash to append from the queue only if the step succeeds

Signed-off-by: Fabio Di Fabio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants