-
Notifications
You must be signed in to change notification settings - Fork 550
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
Fixes for turbo pickles (should improve catchup) #6822
Conversation
in | ||
Envelope.Incoming.wrap_peer ~data:transition_with_hash | ||
~sender:peer ) ) ) | ||
Hash_set.remove busy peer ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should you add a remove
call in a finally
or something in case there's an exception?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes gp -- do you know how to do that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrapping the rhs of the binding above in a Deferred.Or_error.try_with
should catch any errors, will mean that this call is always run.
…ying to add completed work
…a into fixes-for-turbo-pickles
This PR includes a number of fixes for the current test network. It should improve catchup in that it changes the way that blocks are downloaded to be more efficient/effective. It does not fully fix all the issues but it should get us a lot closer.