Commit Graph

10 Commits

Author SHA1 Message Date
Doug Fawley 3e7b97febc
xds/priority: bug fix and minor behavior change (#5417) 2022-06-17 11:14:31 -07:00
Easwar Swaminathan 714ba8d517
xds: move balancergroup and weightedtarget our of xds directory (#4966) 2021-11-09 11:59:10 -08:00
Menghan Li 79e9c9571a
xds/client: move unmarshal functions and types to a separate package (#4904) 2021-11-08 11:11:24 -08:00
Easwar Swaminathan 712e8d4f57
Remove support for Go 1.13 and older (cont) (#4706) 2021-08-25 14:51:41 -07:00
Menghan Li fc30d5b571
xds/cluster_resolver: support RING_HASH as a child of cluster_resolver balancer (#4621)
1. merge endpoint picking and localility picking policy to one field in cluster_resolver's balancer config
   - This field only supports ROUND_ROBIN or RING_HASH.
   - This is to support RING_HASH policy, which is responsible both endpoint picking and locality picking.
   - If policy is RING_HASH, endpoints in localities will be flattened to a list of endpoints, and passed to the policy.
1. support building policy config with RING_HASH as a child
   - The config tree has one less layer comparing with ROUND_ROBIN
   - This also need to define RING_HASH's balancer config config
1. Deleted test `TestEDS_UpdateSubBalancerName` because now the balancer doesn't support updating child to a custom policy.
2021-08-05 14:30:04 -07:00
Menghan Li 582ef458c6
cluster_resolver: move balancer config types into cluster_resolver package and unexport (#4607) 2021-07-22 16:12:30 -07:00
Menghan Li 0300770df1
xds: support cluster fallback in cluster_resolver (#4594) 2021-07-21 10:22:02 -07:00
Menghan Li ebfe3be62a
cluster_resolver: implement resource resolver to resolve EDS and DNS (#4531) 2021-07-12 16:42:02 -07:00
Menghan Li 1c1e3f88d3
xds: fix test race in cluster_resolver (#4555)
There's a race between update sub-balancer and the first EDS resp. If
sub-balancer is updated after the first EDS resp, the old balancers
(round_robin) will create two lingering SubConns that are not handled,
which will mess up the following SubConn state updates.
2021-06-17 11:29:17 -07:00
Menghan Li 4c651eda23
xds: move eds package to cluster_resolver (#4545) 2021-06-16 11:04:33 -07:00