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

Add metrics for out of view statement distribution errors #4972

Merged
merged 12 commits into from
Feb 25, 2022

Conversation

vstakhov
Copy link
Contributor

This PR is intended to cover the situation when we loose some messages during the statement distribution propagation and it causes a chain of the peer reputation changes requests. The idea is to store the count of such a messages in a metric and avoid reputation change flood constrained per relay parent block.

@vstakhov vstakhov added A3-in_progress Pull request is in progress. No review needed at this stage. 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 Feb 22, 2022
@github-actions github-actions bot added A0-please_review Pull request needs code review. and removed A3-in_progress Pull request is in progress. No review needed at this stage. labels Feb 22, 2022
Copy link
Contributor

@drahnr drahnr left a comment

Choose a reason for hiding this comment

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

A few nits that should be resolved before merging, generally looks good to me 👍

@vstakhov
Copy link
Contributor Author

I have slightly reworked that addressing @sandreim comments.

Copy link
Contributor

@sandreim sandreim left a comment

Choose a reason for hiding this comment

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

LGTM

@sandreim
Copy link
Contributor

bot merge

@paritytech-processbot
Copy link

Error: Checks failed for 4f1808b

@vstakhov vstakhov requested a review from drahnr February 25, 2022 17:39
@drahnr
Copy link
Contributor

drahnr commented Feb 25, 2022

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot paritytech-processbot bot merged commit 4c57637 into master Feb 25, 2022
@paritytech-processbot paritytech-processbot bot deleted the vstakhov-statement-distribution-metrics branch February 25, 2022 20:29
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.

3 participants