Commit Graph

33 Commits

Author SHA1 Message Date
Brad Town 9c5b31d74b
xds: use locality from the connected address for load reporting (#7378) 2024-07-10 12:51:11 -07:00
Brad Town 6b413c8351
xds: Surround two `Infof` calls that use `pretty.ToJSON` with `V(2)` checks (#7216) 2024-05-09 12:44:18 -07:00
Zach Reyes 9199290ff8
xds: Move bootstrap config to internal/xds (#7182) 2024-05-03 16:51:11 -04:00
Zach Reyes b37cd8133a
xds: Process telemetry labels from CDS in xDS Balancers (#7116) 2024-04-15 19:01:54 -04:00
Matt Straathof c8083227ee
chore: expose `NewClient` method to end users (#7010) 2024-03-07 13:52:41 -08:00
Doug Fawley dceb6eef92
xds/clusterimpl: stop forwarding UpdateSubConnState calls (#6518) 2023-08-09 12:52:26 -07:00
Doug Fawley 6c0c69efd5
all: replace RemoveSubConn with Shutdown as much as possible (#6505) 2023-08-04 10:19:51 -07:00
Doug Fawley 7aceafcc52
balancer: add SubConn.Shutdown; deprecate Balancer.RemoveSubConn (#6493) 2023-08-04 08:10:48 -07:00
Doug Fawley c6354049d4
balancer: add StateListener to NewSubConnOptions for SubConn state updates (#6481) 2023-07-31 09:42:41 -07:00
Zach Reyes 620a118c67
xds/internal/balancer/clusterimpl: Switch cluster impl child to graceful switch (#6420) 2023-06-30 17:34:16 -04:00
Ernest Nguyen Hung 7dfd71831d
internal/buffer: add Close method to the Unbounded buffer type (#6161) 2023-04-18 16:53:59 -07:00
Easwar Swaminathan 52ca957106
xds: make comparison of server configs in bootstrap more reliable (#6112) 2023-03-14 18:37:14 -07:00
Easwar Swaminathan c03925db8d
priority: release references to child policies which are removed (#5682) 2022-10-06 13:23:45 -07:00
Menghan Li 0a68f8aff0
xds/federation: support federation in LRS (#5128) 2022-01-26 11:39:10 -08:00
Doug Fawley 8ab16ef276
balancer: add ExitIdle optional interface (#4673) 2021-08-18 15:04:35 -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 151c8b770a
xds/clusterimpl: fix race between picker update and ClientConn state update (#4551) 2021-06-17 11:14:00 -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 656cad9ae5
xds: standardize xds client field name (xdsClient) (#4518) 2021-06-04 12:00:13 -07:00
Doug Fawley 7f9eeeae36
xds: standardize builder type names (bb) and balancer receiver names (b) (#4517) 2021-06-04 11:40:23 -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
Doug Fawley 3508452162
xds: add test-only injection of xds config to client and server (#4476) 2021-06-02 10:48:18 -07:00
Menghan Li 9cb99a5211
xds: pretty print xDS updates and service config (#4405) 2021-05-12 15:48:16 -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