Commit Graph

6 Commits

Author SHA1 Message Date
Menghan Li 0a68f8aff0
xds/federation: support federation in LRS (#5128) 2022-01-26 11:39:10 -08:00
Menghan Li 2d4e44a0cd
xds/affinity: fix bugs in clusterresolver and xds-resolver (#4744) 2021-09-14 16:11:03 -07: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