Skip to content

fix: Only send tailnet nodes updates with preferred DERP #7387

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

Merged
merged 1 commit into from
May 4, 2023

Conversation

spikecurtis
Copy link
Contributor

c.f. #7295 although not a complete fix

Should improve stability and performance, by skipping futile tailscale/wireguard updates when we don't have a PreferredDERP yet.

Also, our HA coordinator is only planned to be eventually consistent, so not sending useless updates should lessen the impact of stale data while we are waiting around for "eventually" to happen.

Signed-off-by: Spike Curtis <spike@coder.com>
@spikecurtis spikecurtis merged commit b3689c8 into main May 4, 2023
@spikecurtis spikecurtis deleted the spike/7295-nodes-without-derp branch May 4, 2023 10:30
@github-actions github-actions bot locked and limited conversation to collaborators May 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants