-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
config: unification of delta and SotW gRPC xDS #8478
Conversation
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
…SotW behavior Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
…empt Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
…wn PR Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
Signed-off-by: Fred Douglas <[email protected]>
@mattklein123 @wgallagher done! test/... passed locally for me, and it looks like the CI tests have now passed too, other than a bit of infrastructure breakage. |
awesome! |
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.
Thanks!
@@ -9,39 +9,51 @@ you can mostly forget the filesystem/REST/gRPC distinction, and you can | |||
especially forget about the gRPC flavors. All of that is specified in the | |||
bootstrap config, which is read and put into action by ClusterManagerImpl. | |||
|
|||
Note that there can be multiple active gRPC subscriptions for a single resource |
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.
@wgallagher in a follow up change can we move this doc to source/docs where our dev docs go and/or figure out if this should be merged into the RST docs?
@@ -9,52 +9,62 @@ | |||
#include "common/config/delta_subscription_state.h" |
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.
@wgallagher I assume eventually we are going to rename files away from "new" if we only have a single implementation? Not sure of the history here.
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.
Yeah, totally. This PR keeps it as new to minimize churn, and most importantly to allow the github diffs in this PR to actually be meaningful for those files.
Wooo, thanks! Almost fully clean now. As you mentioned, the "new" in NewGrpcMuxImpl is temporary - I'll be sending out a PR for that shortly. |
I'd be happy to make the name change. Would be a good first envoy PR. |
Awesome, thanks, go for it! |
This reverts commit 443bc33. Signed-off-by: Matt Klein <[email protected]>
This reverts commit 443bc33. Signed-off-by: Matt Klein <[email protected]>
… by #8939 (#8974) Signed-off-by: Fred Douglas <[email protected]>
…e_names_ (#8918)" This reverts commit 80aedc1. Revert "config: rename NewGrpcMuxImpl -> GrpcMuxImpl (#8919)" This reverts commit 6d50553. Revert "config: reinstate #8478 (unification of delta and SotW xDS), reverted by #8939 (#8974)" This reverts commit a37522c. Signed-off-by: Matt Klein <[email protected]>
…e_names_ (#8918)" (#9044) This reverts commit 80aedc1. Revert "config: rename NewGrpcMuxImpl -> GrpcMuxImpl (#8919)" This reverts commit 6d50553. Revert "config: reinstate #8478 (unification of delta and SotW xDS), reverted by #8939 (#8974)" This reverts commit a37522c. Signed-off-by: Matt Klein <[email protected]>
Delta and state-of-the-world gRPC xDS now share the same GrpcMux and
Subscription implementations. These are the implementations added in #7293 for
delta. These implementations are a rewrite/extensive refactoring of the old
GrpcMuxImpl (deleted by this PR) and associated logic.
Risk Level: high (rewrite/large refactor of gRPC xDS)
Testing: added sotw_subscription_state_test