-
Notifications
You must be signed in to change notification settings - Fork 44
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: Add reconnection to known peers #1482
fix: Add reconnection to known peers #1482
Conversation
1f42c68
to
3cb29dc
Compare
Codecov Report
@@ Coverage Diff @@
## develop #1482 +/- ##
===========================================
- Coverage 72.21% 72.20% -0.01%
===========================================
Files 185 185
Lines 18226 18238 +12
===========================================
+ Hits 13161 13168 +7
- Misses 4027 4030 +3
- Partials 1038 1040 +2
|
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.
Approving so long as you test this manually first, as I don't have the bandwidth to finish of the restart tests atm, and make test
(as stated in the PR description) will not test that this works atm.
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.
A todo, and suggestion. Similar to Andy haven't manually tested. Giving an LGTM
3cb29dc
to
479f1d7
Compare
## Relevant issue(s) Resolves #1082 ## Description Adds DB/Node Restart tests. This will be required by Lens (e.g. to make sure migrations are not lost on restart). IIRC I think this also found #1482 (fixed by Fred). --------- Co-authored-by: Fred Carle <[email protected]>
## Relevant issue(s) Resolves sourcenetwork#1481 ## Description Currently, we de not reconnect to known peers on restart unless the peer is defined in the config file or on the CLI command. This PR makes sure that we try to reconnect to known peers.
## Relevant issue(s) Resolves sourcenetwork#1082 ## Description Adds DB/Node Restart tests. This will be required by Lens (e.g. to make sure migrations are not lost on restart). IIRC I think this also found sourcenetwork#1482 (fixed by Fred). --------- Co-authored-by: Fred Carle <[email protected]>
Relevant issue(s)
Resolves #1481
Description
Currently, we de not reconnect to known peers on restart unless the peer is defined in the config file or on the CLI command. This PR makes sure that we try to reconnect to known peers.
Tasks
How has this been tested?
make test shows now degradation and tested manually that peers reconnect on restart.
Specify the platform(s) on which this was tested: