Skip to content
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

xds-failover: plumb the API and the mux to the failover #34417

Closed
wants to merge 4 commits into from

Conversation

adisuissa
Copy link
Contributor

@adisuissa adisuissa commented May 29, 2024

Commit Message: xds-failover: plumb the API and the mux to the failover
Additional Description:
Plumbing the failover support to the API and the different GrpcMux objects.
The biggest change here is that the GrpcMux objects use the GrpcMuxFailover object instead of the GrpcStream object.
Note that this feature is guarded by envoy.restart_features.xds_failover_support which is false by default, and without setting it to true the GrpcStream will be used directly.
Risk Level: medium - but guarded and false by default.
Testing: Added unit and integration tests.
Docs Changes: N/A - will add once the feature is out of alpha
Release Notes: N/A - will add once the feature is out of alpha

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #34417 was opened by adisuissa.

see: more, trace.

Copy link

CC @envoyproxy/runtime-guard-changes: FYI only for changes made to (source/common/runtime/runtime_features.cc).

🐱

Caused by: #34417 was opened by adisuissa.

see: more, trace.

@adisuissa
Copy link
Contributor Author

/retest

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Signed-off-by: Adi Suissa-Peleg <adip@google.com>
htuch pushed a commit that referenced this pull request Jun 4, 2024
This is a breakdown of #34417 to multiple PRs.

In this PR we introduce the envoy.restart_features.xds_failover_support runtime flag which defaults to false.
We also modify the legacy GrpcMux SotW and Delta implementations to use the GrpcMuxFailover object instead of the GrpcStream object when the runtime flag is set to true.

Next is updating the Unified Sotw/Delta GrpcMux implementation, and plumbing the API through to use the xDS-Failover.

Risk Level: medium if the runtime flag is set to true.
Testing: Updated the test cases (parameterized).

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
htuch pushed a commit that referenced this pull request Jun 6, 2024
This PR introduces xDS-Failover support for unified gRPC mux implementations.
This is similar to #34437, and another part of #34417.

Risk Level: medium if the runtime flag is set to true and unified-gRPC-mux is used.
Testing: Updated the test cases (parameterized).

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Copy link

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale stalebot believes this issue/PR has not been touched recently label Jun 29, 2024
@adisuissa
Copy link
Contributor Author

Last relevant PR: #34761.
This can now be closed.

@adisuissa adisuissa closed this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale stalebot believes this issue/PR has not been touched recently
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant