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

replace peers on peer/host update #491

Closed
wants to merge 2 commits into from
Closed

replace peers on peer/host update #491

wants to merge 2 commits into from

Conversation

mattkasun
Copy link
Contributor

No description provided.

Copy link
Contributor

@theguy951357 theguy951357 left a comment

Choose a reason for hiding this comment

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

pr steps pass
critical list passes

Copy link
Member

@abhishek9686 abhishek9686 Jul 10, 2023

Choose a reason for hiding this comment

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

This PR will solve the issue with peer deletions: gravitl/netmaker#2445
we shouldn't be replacing peers on every peer update, it will interfere with active connections, it's a costly operation it becomes more evident at scale
for your reference: https://github.com/WireGuard/wireguard-go/blob/469159ecf7d108dc1d44f8789dedbb463b7bd3a6/device/uapi.go#L243

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is an interim fix until peer update refactor is complete

Copy link
Member

Choose a reason for hiding this comment

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

this PR has the fixes needed: gravitl/netmaker#2445

Copy link
Member

Choose a reason for hiding this comment

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

and peer update refactor won't go in until a couple of releases

@mattkasun
Copy link
Contributor Author

obe due to gravitl/netmaker#2445

@mattkasun mattkasun closed this Jul 12, 2023
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.

3 participants