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

[branch/v8] Clean up remoteSites with no active tunnels (#11435) #11706

Merged
merged 2 commits into from
Apr 5, 2022

Conversation

rosstimothy
Copy link
Contributor

Backport

This will backport the following commits from master to branch/v8:

Questions ?

Please refer to the Backport tool documentation

Not closing a remoteSite causes a continuous retry to init the cache
on the remote auth client. Not only does this cause log spam but is
a waste of resources.

We now stop tracking and close a remoteSite when its heartBeat fails
and no active tunnels are established for the site.

Fixes #11197

(cherry picked from commit 3d5928f)

# Conflicts:
#	lib/reversetunnel/fake.go
#	lib/srv/db/access_test.go
@rosstimothy rosstimothy enabled auto-merge (squash) April 5, 2022 12:55
@rosstimothy rosstimothy merged commit 71f6153 into branch/v8 Apr 5, 2022
@rosstimothy rosstimothy deleted the backport/branch/v8/pr-11435 branch April 5, 2022 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants