Skip to content

Change flood de-duplication to be by NodeID (not address)#5341

Draft
drebelsky wants to merge 1 commit into
stellar:masterfrom
drebelsky:flood-by-id
Draft

Change flood de-duplication to be by NodeID (not address)#5341
drebelsky wants to merge 1 commit into
stellar:masterfrom
drebelsky:flood-by-id

Conversation

@drebelsky

Copy link
Copy Markdown
Contributor

Changes flood de-duplication to be done by peer node ids (which are unique for each connection we have) instead of addresses (which may not be unique since addresses are constructed using the peer port from the node, not the port they connected on). This way, we can properly flood to multiple nodes behind the same public IP (e.g., k8s nodes, nodes behind NAT, etc...). I believe the only situation where this change won't flood data where the previous version would is if a node disconnects and reconnects with the same key but different IP.

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.

1 participant