-
Notifications
You must be signed in to change notification settings - Fork 808
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
Downgrade gossipsub duplicate logs #5163
Conversation
Sounds good to me! I didn't quite like this CLI flag to just disable a log warning anyway, so if we're ok to downgrade this log I'm happy to remove it. I think we might want to deprecate it for the time being though, as it's already been released? Although this flag is very new so we could just delete it if it doesn't impact people too much? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call making it mandatory + default. Even when I saw the user reports of this log, I'd totally forgotten about the flag 🤦♂️
Agreed. I've made this PR backwards compatible. We are getting a few deprecated flags building up. Perhaps next major release, we remove all the deprecated flags. |
I think we can even do it in a minor release. We killed a bunch already in 4.6 with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test could have stayed without the assertion but I don't think it's worth blocking the merge on. LGTM
@Mergifyio requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
Opened an issue for some other logs we could also target in this PR (or a follow-up if it merges before then). Would like your input @AgeManning on what you think is most reasonable here: |
Looks like the CLI doc needs an update:
Going to unqueue this so other PRs can get in. |
@mergify unqueue |
✅ The pull request has been removed from the queue
|
@mergify requeue |
❌ This pull request head commit has not been previously disembarked from queue. |
@mergify queue |
🛑 The pull request has been removed from the queue
|
@Mergifyio requeue |
✅ This pull request will be re-embarked automaticallyThe followup |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 8530427 |
* Downgrade duplicate publish logs * Maintain backwards compatiblity, deprecate flag * The tests had to go, because there's no config to test against * Update help_bn.md
This undoes parts of #5009
We are getting a few more reports of seeing these warnings. Mostly because of people using fallback BNs.
I think the CLI flag approach is probably not necessary. I think most users know if they see these warnings are not going to expect that they are running multiple VC's in a slashable way, rather that they have fallback bns and probably won't react to the warning anyway.
I am proposing to downgrade these logs by default and simply remove the cli flag.
Wondering what @jimmygchen and @michaelsproul think about this.