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

[v14] Restore relative node expiry to original behavior #38311

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

rosstimothy
Copy link
Contributor

@rosstimothy rosstimothy commented Feb 15, 2024

Backport #38258 to branch/v14

Changelog: Fix a bug that could cause expired SSH servers from appearing in the Web UI until the Proxy is restarted.

When relative node expiry was originally implemented it only ran
on Auth and propagated delete events downstream. However, that
was quickly changed in #12002 because the event system could not
keep up in clusters with high churn and would result in buffer
overflow errors in downstream caches. The event system has been
overhauled to use FanoutV2, which no longer suffers from the
burst of events causing problems. The change to not propagate
delete events also breaks any node watchers on the local
cache from ever expiring the server since they never receive
a delete event.

This reverts some of the changes from #12002 such that relative
expiry now only runs on the auth cache and emits delete events.
Each relative expiry interval is however still limited to only
remove up to a fixed number of nodes.

Closes #37527
@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Feb 15, 2024
@zmb3
Copy link
Collaborator

zmb3 commented Feb 15, 2024

/excludeflake *

Copy link
Collaborator

@zmb3 zmb3 left a comment

Choose a reason for hiding this comment

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

Is fanoutv2 in v14?

@rosstimothy
Copy link
Contributor Author

Is fanoutv2 in v14?

Yes. #38129. It's not in v13 though.

@rosstimothy rosstimothy added this pull request to the merge queue Feb 17, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 17, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Feb 17, 2024
Merged via the queue into branch/v14 with commit 3816a67 Feb 17, 2024
27 checks passed
@rosstimothy rosstimothy deleted the bot/backport-38258-branch/v14 branch February 17, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants