-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Getting online domains using peers health check #8795
Getting online domains using peers health check #8795
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
…e a guess client at a gateway, just ignore it and move on to another one Co-authored-by: Shubham Gupta <[email protected]>
…tus` for `sy.domains`
… networks for `sy.gateways`
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
- improve repr for domain and network registry to show online domains and networks
- `sy.gateways` and `sy.domains` work with python webserver nodes
TODO:
|
- add a wait in `gateway_local_test` before checking for online domains Co-authored-by: Shubham Gupta <[email protected]>
- add some wait times before checking node connection status
This comment was marked as resolved.
This comment was marked as resolved.
…us.value` for `NodePeer` repr
…_delete_route_on_peer`
…ore checking for peer connection status
Note on some flaky integration k8s network tests after merging the Peers Health Check PR: Since we now check the peers' health by making a connection and create a guest client on the peer node (using Another issue was that we updated the whole peer object in TODO: checking route's validity (e.g. by pinging) before adding it to a list of node routes? |
…default - update k8s integration tests accordingly - move skip test to the test file rather than in `tox.ini`
updates ping status related fields (in backgroudn threads) instead of the whole peer object to avoid outdated node routes (and possibly also other fields) issues
376810a
to
3e42aad
Compare
Moved the PR here #8851 with some bug fixes and improvements |
Description
Now, we are running peers health check periodically in background task (this PR).
This PR tries to get the list of online domains using the results of this peers health check feature instead of trying to login the domains as guest clients to check if they are online every time we call
sy.domains