Skip to content

Update dependencies; add pick_first; fix xds bug #22

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

Merged
merged 7 commits into from
Nov 15, 2024

Conversation

HailongWen
Copy link
Contributor

@HailongWen HailongWen commented Oct 24, 2024

  1. Update versions of dependencies.
  2. Add pick_first v3 proto in main.go.
    3. Allow xds to print more than 1 ClientConfig. When client is using RLS, it will receive an additional config for the RLS server.

@HailongWen HailongWen removed their assignment Nov 7, 2024
@dfawley
Copy link
Collaborator

dfawley commented Nov 13, 2024

I'm not sure who owns this repo, but if I need to review this I'd like to request it to be split into 3 PRs. I'm not that familiar with the code, so seeing the independent parts of the change would be really helpful.

I can "LGTM" the 1.22 go.mod change though.

@HailongWen
Copy link
Contributor Author

I updated the PR to remove changes in cmd/xds.go - I will open another issue against this repo.

Besides, go mod tidy keeps updating the version to 1.22.7 (required by grpc-go 1.68.0), but I also see that the patch version is not needed (grpc/grpc-go#7831). So I manually removed it.

PTAL.

@dfawley
Copy link
Collaborator

dfawley commented Nov 14, 2024

Besides, go mod tidy keeps updating the version to 1.22.7 (required by grpc-go 1.68.0), but I also see that the patch version is not needed (grpc/grpc-go#7831). So I manually removed it.

This happened in our repo because of our dependencies as well. We have also manually removed the patch version for the next release and will try to prevent it from happening in the future.

Copy link
Collaborator

@dfawley dfawley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes!

@@ -117,6 +117,7 @@ import (
_ "github.com/envoyproxy/go-control-plane/envoy/extensions/internal_redirect/previous_routes/v3"
_ "github.com/envoyproxy/go-control-plane/envoy/extensions/internal_redirect/safe_cross_scheme/v3"
_ "github.com/envoyproxy/go-control-plane/envoy/extensions/load_balancing_policies/least_request/v3"
_ "github.com/envoyproxy/go-control-plane/envoy/extensions/load_balancing_policies/pick_first/v3"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any kind of package in the root of go-control-plane somewhere we can import instead? This list is huge. :)

Or maybe we can generate the import list instead of maintaining it by hand?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review!

  1. I can't find a common package that export all the stuff. I suspect even if that exists, it might just be a manual list maintained by go-control-plane so it really does not solve the issue.
  2. As for auto-generate, I am not sure what is the criteria for filtering. If I just filter by "*.pb.go" under go-control-plane/envoy/ there will be O(1000) of them; even go-control-plane/envoy/extensions gives me ~O(400). I am not sure if we need all of them.

I will open a separate issue to track this effort.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the criteria for including in this binary?

Anyway, PR LGTM; I will merge it.

@dfawley dfawley merged commit 88c9872 into grpc-ecosystem:main Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants