Repository navigation
Discard Status before publishing in provider - #1455
Merged
Merged
Conversation
* Discard the Status of the Gateway and xRoute resources before saving them in the watchable layer. This reduces the memory consumption within watchable / lesser things to cache. Its safe to discard the status since it is always recomputed by the gateway-api layer, and only written back into the K8s API Server if something, other than the `LastTransitionTime` has changed. Fixes: envoyproxy#1370 Signed-off-by: Arko Dasgupta <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #1455 +/- ##
==========================================
+ Coverage 61.43% 61.51% +0.07%
==========================================
Files 79 79
Lines 11439 11455 +16
==========================================
+ Hits 7028 7046 +18
- Misses 3949 3951 +2
+ Partials 462 458 -4
|
zirain
approved these changes
May 30, 2023
zirain
left a comment
Member
There was a problem hiding this comment.
/lgtm
it would be better if there's a benchmark test.
Contributor
Author
|
/retest |
haq204
approved these changes
May 30, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LastTransitionTimehas changed.Fixes: #1370