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

Fixes for turbo pickles (should improve catchup) #6822

Merged
merged 12 commits into from
Nov 24, 2020

Conversation

imeckler
Copy link
Member

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.

@imeckler imeckler requested a review from a team as a code owner November 22, 2020 22:49
@imeckler imeckler mentioned this pull request Nov 22, 2020
in
Envelope.Incoming.wrap_peer ~data:transition_with_hash
~sender:peer ) ) )
Hash_set.remove busy peer ;
Copy link
Member

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?

Copy link
Member Author

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?

Copy link
Member

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.

@imeckler imeckler added ci-build-me Add this label to trigger a circle+buildkite build for this branch ready-to-merge-into-develop labels Nov 23, 2020
@mergify mergify bot merged commit f9fa287 into develop Nov 24, 2020
@mergify mergify bot deleted the fixes-for-turbo-pickles branch November 24, 2020 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch ready-to-merge-into-develop
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants