Skip to content
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

RoutingTableView: add nonces, display tombstone edges separately #9560

Merged
merged 2 commits into from
Sep 25, 2023

Conversation

saketh-are
Copy link
Collaborator

RoutingTableView contains a table Direct Peers with one entry per peer. The table displays the latest distance vector shared by each peer.

This PR:

  • Adds the Min Nonce for each distance vector to the display, indicating the age of the received information.
  • Moves any peers in a disconnected state to a separate table for clarity.
image

@saketh-are saketh-are marked this pull request as ready for review September 22, 2023 21:12
@saketh-are saketh-are requested a review from a team as a code owner September 22, 2023 21:12
@saketh-are saketh-are requested a review from akhi3030 September 22, 2023 21:12
Copy link
Collaborator

@akhi3030 akhi3030 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me. Are there any tests that we can run to make sure that this does not break anything?

@saketh-are
Copy link
Collaborator Author

Thanks to @robin-near the debug UI is now strongly typed. Between that and some basic manual testing to verify the output (screenshot attached above), we can be reasonably confident there are no issues.

@saketh-are saketh-are added this pull request to the merge queue Sep 25, 2023
Merged via the queue into master with commit 6972c50 Sep 25, 2023
@saketh-are saketh-are deleted the routing-debug-2 branch September 25, 2023 22:57
nikurt pushed a commit that referenced this pull request Sep 26, 2023
RoutingTableView contains a table Direct Peers with one entry per peer.
The table displays the latest distance vector shared by each peer.

This PR:
- Adds the Min Nonce for each distance vector to the display, indicating
the age of the received information.
- Moves any peers in a disconnected state to a separate table for
clarity.

<img width="1448" alt="image"
src="/~https://github.com/near/nearcore/assets/3241341/8488eb07-7adf-4c7c-838e-165ca740d2fa">
nikurt pushed a commit that referenced this pull request Sep 26, 2023
RoutingTableView contains a table Direct Peers with one entry per peer.
The table displays the latest distance vector shared by each peer.

This PR:
- Adds the Min Nonce for each distance vector to the display, indicating
the age of the received information.
- Moves any peers in a disconnected state to a separate table for
clarity.

<img width="1448" alt="image"
src="/~https://github.com/near/nearcore/assets/3241341/8488eb07-7adf-4c7c-838e-165ca740d2fa">
@akhi3030
Copy link
Collaborator

Thanks to @robin-near the debug UI is now strongly typed. Between that and some basic manual testing to verify the output (screenshot attached above), we can be reasonably confident there are no issues.

Thanks for the explanation!

nikurt pushed a commit that referenced this pull request Oct 11, 2023
RoutingTableView contains a table Direct Peers with one entry per peer.
The table displays the latest distance vector shared by each peer.

This PR:
- Adds the Min Nonce for each distance vector to the display, indicating
the age of the received information.
- Moves any peers in a disconnected state to a separate table for
clarity.

<img width="1448" alt="image"
src="/~https://github.com/near/nearcore/assets/3241341/8488eb07-7adf-4c7c-838e-165ca740d2fa">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants