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

Move code for starting new routing table sync to RoutingTableActor #5163

Merged
merged 1 commit into from
Nov 8, 2021
Merged

Move code for starting new routing table sync to RoutingTableActor #5163

merged 1 commit into from
Nov 8, 2021

Conversation

pmnoxx
Copy link
Contributor

@pmnoxx pmnoxx commented Nov 8, 2021

In preparation for moving routing table computation to RoutingTableActor, we should move handling start_routing_table_syncv2 from PeerManager to RoutingTableActor first.

Related to #5138
Change extracted from #5089, to make that PR shorter.

@pmnoxx pmnoxx self-assigned this Nov 8, 2021
@pmnoxx
Copy link
Contributor Author

pmnoxx commented Nov 8, 2021

@mm-near @bowenwang1996 Can you take a look?

@pmnoxx pmnoxx added A-network Area: Network T-core Team: issues relevant to the core team C-enhancement Category: An issue proposing an enhancement or a PR with one. S-automerge labels Nov 8, 2021
@@ -68,6 +68,10 @@ pub enum RoutingTableMessages {
peer_id: PeerId,
ibf_msg: RoutingVersion2,
},
#[cfg(feature = "protocol_feature_routing_exchange_algorithm")]
StartRoutingTableSync {
Copy link
Contributor

Choose a reason for hiding this comment

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

let's start improving the documentation:

can you add the description of what will happen when this message is received?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, once we merge other PR changes I'll add documentation.

@near-bulldozer near-bulldozer bot merged commit 59fbb33 into near:master Nov 8, 2021
@pmnoxx pmnoxx deleted the piotr-move-routing-table-exchange-to-another-thread-pt2-pt1.5 branch November 13, 2021 06:24
@pmnoxx pmnoxx added A-core and removed T-core Team: issues relevant to the core team labels Dec 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-network Area: Network C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants