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.
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
[router] Add SRDS configUpdate impl #7451
[router] Add SRDS configUpdate impl #7451
Changes from 59 commits
6a3f13b
cc806d7
bb55a44
8d7b4da
8bcddce
b1d0d5c
1007ee0
184ff2f
fe6b643
fc98e56
951bd28
75718d9
d84839d
27ff0a3
36a6e72
46e23f2
74038f4
ff7ccdb
06bd690
cf38720
5cad3ee
50e8fb5
ac65ba2
cb5324f
5c8a546
4a1fb01
fdd0a74
467a6a1
7dea1a0
c354a1e
2b5f572
9dd4214
5d2f8a2
86c455e
60dd433
6c1a672
c31de28
abfe558
69df754
5f357bd
dd3b97d
ee09a5b
46ad9af
47a417d
9c1f616
ae2ac31
b1acd70
d08bdb2
eb65b89
07bdfee
40b214e
4e57308
710c7e8
53081b2
2593bfa
2dd6714
cef747d
bb0cdb8
fa6ecb1
efaa891
bf4dc23
e329f49
c4719d8
56e2876
d26d9b7
4ab7005
bf703fc
2b375d4
c7a241c
c2ff015
eb5af9c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
One observation that I think we need to start thinking more about independent of this is that we should move away from using non-cryptographic hashes for comparing configuration. I think that parts of the control plane should be viewed as untrusted, e.g. in a managed control plane, maybe route names are under the control of an adversary. In this scenario, it's plausible that hash collisions are not hard to create and we need to have something with strong crypto properties (at the expense of performance).
CC @mattklein123 @yanavlasov
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.
const envoy::api::v2::ScopedRouteConfiguration
?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.
nope, the constructor is expecting a rvalue to be moved into the proto member (per htuch@ pointing it out Envoy prefers more visible && than the copy-elision envoy::api::v2::ScopedRouteConfiguration parameter).
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.
Nit: probably worth introduced
RouteConfigProviderPtr
, this is used a few places.This file was deleted.
This file was deleted.