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

Ignore redundant dispute messages#4854

Merged
rphmeier merged 5 commits intomasterfrom
rh-disputes-ignore-duplicates
Feb 7, 2022
Merged

Ignore redundant dispute messages#4854
rphmeier merged 5 commits intomasterfrom
rh-disputes-ignore-duplicates

Conversation

@rphmeier
Copy link
Copy Markdown
Contributor

@rphmeier rphmeier commented Feb 6, 2022

I think the original vision was for higher-level subsystems to do deduplication, but that has been lost over time. This PR changes the dispute coordinator to avoid doing any DB writes when a statement is redundant. And also to avoid counting such messages in the metrics.

@rphmeier rphmeier 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. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Feb 6, 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 6, 2022
@rphmeier rphmeier merged commit ca6b3ed into master Feb 7, 2022
@rphmeier rphmeier deleted the rh-disputes-ignore-duplicates branch February 7, 2022 21:54
ordian added a commit that referenced this pull request Feb 8, 2022
* master:
  Bump trie-db from 0.23.0 to 0.23.1 (#4867)
  Ignore redundant dispute messages (#4854)
  collation-generation: Support compressed PoVs directly (#4825)
  Forward `enable_overseer_always` (#4858)
tdimitrov added a commit to tdimitrov/polkadot that referenced this pull request Feb 23, 2022
tdimitrov added a commit to tdimitrov/polkadot that referenced this pull request Feb 23, 2022
tdimitrov added a commit to tdimitrov/polkadot that referenced this pull request Feb 25, 2022
tdimitrov added a commit to tdimitrov/polkadot that referenced this pull request Feb 25, 2022
tdimitrov added a commit to tdimitrov/polkadot that referenced this pull request Feb 25, 2022
tdimitrov added a commit to tdimitrov/polkadot that referenced this pull request Feb 28, 2022
tdimitrov added a commit to tdimitrov/polkadot that referenced this pull request Feb 28, 2022
tdimitrov added a commit to tdimitrov/polkadot that referenced this pull request Mar 1, 2022
tdimitrov added a commit to tdimitrov/polkadot that referenced this pull request Mar 1, 2022
eskimor pushed a commit that referenced this pull request Mar 1, 2022
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. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants