-
Notifications
You must be signed in to change notification settings - Fork 629
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(state-sync): Enable State Sync from GCS by default #9398
Conversation
The RoutingTableView in the debug UI includes a table over the direct peers of the node: <img width="516" alt="image" src="https://github.com/near/nearcore/assets/3241341/c8c1f0b8-1e0a-458e-a2ad-f09f20fcb57c"> Each active connection of the node has one row in the table. The last column is populated using the most recent distance vector shared by the direct peer. In some cases there may be a direct connection for which we have not received a distance vector yet. This PR allows the debug UI to gracefully handle such cases and display "null" instead of producing an error.
} | ||
if matches!(state_sync_config, SyncConfig::Peers) { | ||
// TODO #8719 | ||
tracing::warn!( |
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.
instead of removing this message, should we replace with a message saying "node is syncing its state! If this failed, please do the following xxx"?
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.
Done, PTAL.
* fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default * RoutingTableView: gracefully handle missing distance vectors (#9394) The RoutingTableView in the debug UI includes a table over the direct peers of the node: <img width="516" alt="image" src="https://github.com/near/nearcore/assets/3241341/c8c1f0b8-1e0a-458e-a2ad-f09f20fcb57c"> Each active connection of the node has one row in the table. The last column is populated using the most recent distance vector shared by the direct peer. In some cases there may be a direct connection for which we have not received a distance vector yet. This PR allows the debug UI to gracefully handle such cases and display "null" instead of producing an error. * fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default --------- Co-authored-by: Saketh Are <saketh.are@gmail.com>
* fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default * RoutingTableView: gracefully handle missing distance vectors (#9394) The RoutingTableView in the debug UI includes a table over the direct peers of the node: <img width="516" alt="image" src="https://github.com/near/nearcore/assets/3241341/c8c1f0b8-1e0a-458e-a2ad-f09f20fcb57c"> Each active connection of the node has one row in the table. The last column is populated using the most recent distance vector shared by the direct peer. In some cases there may be a direct connection for which we have not received a distance vector yet. This PR allows the debug UI to gracefully handle such cases and display "null" instead of producing an error. * fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default --------- Co-authored-by: Saketh Are <saketh.are@gmail.com>
* fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default * RoutingTableView: gracefully handle missing distance vectors (near#9394) The RoutingTableView in the debug UI includes a table over the direct peers of the node: <img width="516" alt="image" src="https://github.com/near/nearcore/assets/3241341/c8c1f0b8-1e0a-458e-a2ad-f09f20fcb57c"> Each active connection of the node has one row in the table. The last column is populated using the most recent distance vector shared by the direct peer. In some cases there may be a direct connection for which we have not received a distance vector yet. This PR allows the debug UI to gracefully handle such cases and display "null" instead of producing an error. * fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default --------- Co-authored-by: Saketh Are <saketh.are@gmail.com>
* fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default * RoutingTableView: gracefully handle missing distance vectors (#9394) The RoutingTableView in the debug UI includes a table over the direct peers of the node: <img width="516" alt="image" src="https://github.com/near/nearcore/assets/3241341/c8c1f0b8-1e0a-458e-a2ad-f09f20fcb57c"> Each active connection of the node has one row in the table. The last column is populated using the most recent distance vector shared by the direct peer. In some cases there may be a direct connection for which we have not received a distance vector yet. This PR allows the debug UI to gracefully handle such cases and display "null" instead of producing an error. * fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default * fix(state-sync): Enable State Sync from GCS by default --------- Co-authored-by: Saketh Are <saketh.are@gmail.com>
No description provided.