-
Notifications
You must be signed in to change notification settings - Fork 106
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
fix(network): Reconnect with peers after brief network interruption #7853
Conversation
…twork connectivity
8388e96
to
08d3a50
Compare
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.
This fix might work, but there are no new tests, and no comments about manual tests. So I can't be sure. It also has some network load drawbacks that we should fix.
There are other bugs we might need to follow up, but some haven't been fully analysed, and they don't have tickets yet. Can you work out if we need to add logs to diagnose them? This PR would be a good place to add those logs.
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.
Thanks! We might want to raise the minimum number of peers later, but 1 is an acceptable minimum for now.
Motivation
Zebra currently will not reconnect after an internet connection failure.
Part of #7772.
Solution
TimerCrawl
Review
Anyone can review.
Reviewer Checklist
Follow Up Work
MorePeers
message inPeerSet::poll_ready()