-
Notifications
You must be signed in to change notification settings - Fork 363
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
Delete unused status keys from watchable #2660
Comments
one solution could be deleting the status from watchable right after processing it in
|
At least when we can determine the status update result, we can delete it in |
yeah +1 @ShyunnY |
gateway/internal/status/status.go Lines 76 to 102 in 1f5df35
When status is updated, do we need to obtain the update result to decide whether to delete status keys? I have two ideas:
|
@ShyunnY 2 options I see are
|
In my opinion, I would vote for the first way. |
1 sounds good |
Hi, can I work on this issue with the first option, unless someone's already dealing with it? |
@uniglot thanks for taking this. |
Description:
The status keys are only stored and not deleted. Either all the status keys or at least the stale ones should be deleted to free up memory
gateway/internal/gatewayapi/runner/runner.go
Line 112 in cf46fbe
&
gateway/internal/xds/translator/runner/runner.go
Line 99 in cf46fbe
The text was updated successfully, but these errors were encountered: