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

have some lenience on outdated messages in statement distribution #5150

Merged
merged 2 commits into from
Mar 18, 2022

Conversation

rphmeier
Copy link
Contributor

@rphmeier rphmeier commented Mar 17, 2022

Network-bridge view updates can pre-empt pending messages, leading to many 'out-of-view' notifications in statement-distribution. These cause corresponding network reports, which could exacerbate congestion in the network code.

This alters the statement-distribution code to track some recently outdated heads in the view, and doesn't report peers who are simply sending messages from recently-outdated heads.

This PR is only meant to highlight general approach; I'd be happy for someone to clean it up or do something similar in approval-distribution.

@rphmeier rphmeier added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C3-medium PR touches the given topic and has a medium impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit. labels Mar 17, 2022
@rphmeier rphmeier added B1-releasenotes and removed B0-silent Changes should not be mentioned in any release notes labels Mar 17, 2022
Copy link

@macalicious macalicious left a comment

Choose a reason for hiding this comment

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

LGTM. I will try to do something similar in approval-distribution.

@rphmeier
Copy link
Contributor Author

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

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. C3-medium PR touches the given topic and has a medium impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants