-
Notifications
You must be signed in to change notification settings - Fork 5.3k
sds: keep warming when dynamic inserted cluster can't be extracted secret entity #13894
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
Closed
Closed
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
b882bde
cluster manager: avoid immediate activation for dynamic inserted clus…
Shikugawa 7e9332d
update count
Shikugawa 8e99e81
cleanup
Shikugawa 478f578
sds: keep warming when dynamic inserted cluster can't be extracted se…
Shikugawa b4af995
resolve conflict
Shikugawa 8cda02f
add unit test
Shikugawa 5841c9e
typo
Shikugawa 99276bc
fix build
Shikugawa 6e95a07
test coverage
Shikugawa 3c600ec
Kick CI
Shikugawa fa718a9
resolve conflict
Shikugawa cb5a373
add comment
Shikugawa 456b5b9
build fix
Shikugawa b77dae0
merge
Shikugawa c24b729
Merge branch 'master' of https://github.com/envoyproxy/envoy into fix…
Shikugawa 476d706
transport socket abstraction
Shikugawa 96a71c4
coverage
Shikugawa 3a2cfea
simpler
Shikugawa 34ea49c
coverage
Shikugawa b2b99be
cleanup and coverage
Shikugawa 5bbae5f
Kick CI
Shikugawa 1e4f950
follow up
Shikugawa 31354e4
ci
Shikugawa 39606e6
Merge branch 'master' of https://github.com/envoyproxy/envoy into fix…
Shikugawa 0ad2773
reorder
Shikugawa 186c305
add runtime feature flag
Shikugawa 5f83864
typo
Shikugawa 1cdfbe6
follow up
Shikugawa 0e237a1
fix nullptr reference
Shikugawa 2a46a40
Merge branch 'master' of https://github.com/envoyproxy/envoy into fix…
Shikugawa 231bfff
fix
Shikugawa 3c6902f
fix
Shikugawa d05a1a3
Merge remote-tracking branch 'upstream/master' into sds_fix
lizan a4fcf00
fix transport socket match and optimize flow
lizan 1575c36
fix test
lizan a18c4a6
style fix
lizan 9fb4528
Merge remote-tracking branch 'upstream/master' into sds_fix
lizan fb056ad
coverage
lizan 31bfe83
Kick CI
Shikugawa 6ff7ae2
check all transport socket factories
lizan d1cf6a2
Merge branch 'fix-sds-activate-timing' of https://github.com/Shikugaw…
lizan 37a272f
fix wording
lizan c83b7c8
fix test
lizan 85639eb
update comment
lizan edead46
spell
lizan 150a789
fix comments
Shikugawa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still don't understand how this blocks initialization. Unless I am missing something, the ClusterManagerInitHelper will still complete initialization with this early return. This will cause workers to start, etc., leading to 503s. If this is not the case can you update the comments?
This will block warming -> active in a subsequent CDS update, which is marginally better, but I don't think it fixes the problem of server init?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the additional comment from the offline:
server init determine decide if all clusters are initialized by number of elements in
secondary_init_clusters_andprimary_init_clusters_This early return doesn't skip removing that cluster from these two lists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. That's what I thought.