Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

grandpa: restrict grandpa gossip #9131

Merged
5 commits merged into from
Jun 18, 2021
Merged

grandpa: restrict grandpa gossip #9131

5 commits merged into from
Jun 18, 2021

Conversation

andresilva
Copy link
Contributor

@andresilva andresilva commented Jun 16, 2021

This PR updates the GRANDPA gossip validator to make it more restrictive. Currently there is a lot of duplicate messages being exchanged. Additionally this should also make gossip more fair as we were heavily favoring gossiping to authorities to the point that full nodes cannot keep up with the latest rounds (they were mostly keeping up with finality through commits and catch-up requests).

We already deployed this on all of the rococo validators and the traffic went down by about 3x without introducing any delay in finality.

@andresilva andresilva added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Jun 16, 2021
Copy link
Member

@ordian ordian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a good understanding of the code, but the burnin on rococo went really well.

@andresilva
Copy link
Contributor Author

bot merge

@ghost
Copy link

ghost commented Jun 18, 2021

Trying merge.

@ghost
Copy link

ghost commented Jun 18, 2021

Bot will approve on the behalf of @andresilva, since they are a team lead, in an attempt to reach the minimum approval count

@ghost ghost merged commit df1165d into master Jun 18, 2021
@ghost ghost deleted the andre/tighter-grandpa-gossip branch June 18, 2021 19:31
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants