Commit Graph

24 Commits

Author SHA1 Message Date
Easwar Swaminathan 52ca957106
xds: make comparison of server configs in bootstrap more reliable (#6112) 2023-03-14 18:37:14 -07:00
Easwar Swaminathan ace808232f
xdsclient: close func refactor (#5926)
Fixes https://github.com/grpc/grpc-go/issues/5895
2023-01-18 11:32:40 -08:00
Easwar Swaminathan 60a3a7e969
cleanup: fixes for issues surfaced by vet (#5617) 2022-09-02 14:09:10 -07:00
Doug Fawley 3e7b97febc
xds/priority: bug fix and minor behavior change (#5417) 2022-06-17 11:14:31 -07:00
Menghan Li 0a68f8aff0
xds/federation: support federation in LRS (#5128) 2022-01-26 11:39:10 -08:00
Easwar Swaminathan 714ba8d517
xds: move balancergroup and weightedtarget our of xds directory (#4966) 2021-11-09 11:59:10 -08:00
Easwar Swaminathan 712e8d4f57
Remove support for Go 1.13 and older (cont) (#4706) 2021-08-25 14:51:41 -07:00
Easwar Swaminathan 574137db7d
xds: fix flaky test (TestPickerUpdateAfterClose) (#4658) 2021-08-06 10:56:44 -07:00
Menghan Li b3f274c2ba
xds/cluster_impl: fix cluster_impl not correctly starting LoadReport stream (#4566) 2021-06-29 11:45:16 -07:00
Menghan Li e24ede5936
xds: delete LRS policy and move the functionality to xds_cluster_impl (#4528)
- (cluster_resolver) attach locality ID to addresses
- (cluster_impl) wrap SubConn
- (lrs) delete
2021-06-24 16:20:11 -07:00
Menghan Li 14c7ed60ad
xds/circuit_breaking: counters should be keyed by {cluster, EDS service name} pair (#4560) 2021-06-22 11:03:12 -07:00
Menghan Li b1418a6e74
xds: export XDSClient interface and use it in balancer tests (#4510)
- xdsclient.New returns the interface now
- xdsclient.SetClient and xdsclient.FromResolverState take and return the interface now
- cleanup xds balancer tests to pass xds_client in resolver state
2021-06-08 16:05:50 -07:00
Doug Fawley 7beddeea91
cleanup: remove "Interface" as suffix of (almost all) interface names (#4512) 2021-06-04 08:58:26 -07:00
Doug Fawley 5c164e2b8f
xds: rename xds/internal/client package to xdsclient (#4511) 2021-06-03 16:10:21 -07:00
Menghan Li 584fa41822
xds/testing: export variables for testing (#4449)
The exported variables will be used by tests (to be added in a future
PR, in another package) that use these balancers as child balancer.
2021-05-18 10:30:43 -07:00
Doug Fawley 74fe6eaa41
github: testing action workflow improvements and update to test Go1.16 (#4358) 2021-04-22 14:59:51 -07:00
Menghan Li 671707bdf3
internal: fix symbol undefined build failure (#4353)
Caused by git merge
2021-04-21 14:06:54 -07:00
Menghan Li 970aa09283
xds/balancers: export balancer names and config structs (#4334) 2021-04-21 10:11:28 -07:00
Menghan Li 1a870aec2f
xds/clusterimpl: trigger re-resolution on subconn transient_failure (#4314) 2021-04-15 15:08:03 -07:00
Doug Fawley 87eb5b7502
credentials/google: remove unnecessary dependency on xds protos (#4339) 2021-04-13 16:19:17 -07:00
Menghan Li 950ddd3c37
xds/google_default_creds: handshake based on cluster name in address attributes (#4310) 2021-04-12 09:56:37 -07:00
Menghan Li 004ef8ade6
xds/clusterimpl: fix picker update race after balancer is closed (#4318) 2021-04-06 13:47:15 -07:00
Menghan Li 1b75f7144d
circuit breaking: keep max_count per picker, instead of globally, and add support in cluster_impl balancer (#4203)
Also changed circuit breaking counter implementation to move max_count into the
picker, because this is how cluster_impl is designed. Implementation in EDS is
also modified to keep max_count in picker.
2021-02-17 10:46:07 -08:00
Menghan Li 9f3606cd0f
xds: xds_cluster_impl_balancer part 1 (#4154)
Part of C2P fallback. To support fallback to a DNS cluster.

This PR adds implementation of xds_cluster_impl_balancer, which will be responsible for circuit breaking and rpc dropping.

This PR only added RPC dropping. Circuit breaking will be done in a followup PR, after some necessary refactoring.
2021-02-11 15:03:39 -08:00