Commit Graph

462 Commits

Author SHA1 Message Date
Easwar Swaminathan 9ba66f1b84
xdsclient: use top-level server list if authority specific list is empty (#5491) 2022-07-12 11:37:52 -07:00
Easwar Swaminathan 38df45cac7
xdsclient: move XDSClient interface definition to client.go (#5479) 2022-07-07 15:06:18 -07:00
Easwar Swaminathan 0d04c6f5d4
ringhash: don't recreate subConns when update doesn't change address information (#5431) 2022-07-07 13:04:08 -07:00
Easwar Swaminathan a6dcb714b2
xdsclient: don't reset version info after stream restart (#5422) 2022-07-06 10:31:02 -07:00
Easwar Swaminathan 5770b1dea5
xds: drop localities with zero weight at the xdsClient layer (#5476) 2022-06-30 15:28:57 -07:00
Easwar Swaminathan 4b750055a5
clusterresolver: merge P(p)arseConfig functions (#5462) 2022-06-24 10:48:40 -07:00
Easwar Swaminathan c6ee1c7144
xdsclient: only include nodeID in error strings, not the whole nodeProto (#5461) 2022-06-23 16:53:43 -07:00
Easwar Swaminathan 5cdb09fa29
outlierdetection: fix package level comments (#5457) 2022-06-22 16:33:50 -07:00
Doug Fawley 3e7b97febc
xds/priority: bug fix and minor behavior change (#5417) 2022-06-17 11:14:31 -07:00
Zach Reyes 29d9970c51
xds: Outlier Detection configuration in Cluster Resolver Balancer (#5371)
xds: Outlier Detection configuration in Cluster Resolver Balancer
2022-06-17 13:46:47 -04:00
Easwar Swaminathan c0198a9ce3
ringhash: use grpctest.Tester in unit tests (#5428) 2022-06-15 10:51:48 -07:00
Doug Fawley 70a80552d5
xds/priority: clean up tests (#5387) 2022-05-31 15:44:42 -07:00
Menghan Li da6ef0055c
xds/clusterresolver: reuse child policy names for the same locality (#5367) 2022-05-25 17:03:33 -07:00
Easwar Swaminathan c0e35731fa
xds: move e2e tests into grpc/test/xds directory (#5363) 2022-05-24 11:13:30 -07:00
Zach Reyes ed7522591b
Don't call cmp in non testing file (#5370)
* Don't call cmp in non testing file
2022-05-23 15:14:50 -04:00
Menghan Li 459729d667
xds/priority: avoid sending duplicate updates to children (#5374) 2022-05-20 15:17:13 -07:00
Menghan Li 333a441e27
xds/ringhash: update connectivity state aggregation, and make sure at least one SubConn is connecting in TF (#5338) 2022-05-18 10:58:39 -07:00
Easwar Swaminathan d9b952b170
xds/resolver: use correct resource name in log message (#5357) 2022-05-16 14:15:22 -07:00
Menghan Li db79903af9
xds/priority: start the init timer when a child switch to Connecting from non-transient-failure state (#5334) 2022-05-10 16:56:41 -07:00
Zach Reyes 462d867696
xds: Add Outlier Detection configuration and CDS handling (#5299)
xds: Add Outlier Detection configuration and CDS handling
2022-05-09 16:13:07 -04:00
Menghan Li 5c46f1aa49
xdsclient/csds: fix leaked metadata (#5339) 2022-05-09 11:06:30 -07:00
Zach Reyes ee67b3d8e9
xds: Handle loops and ignore duplicates in aggregated cluster handling (#5317)
xds: Handle loops and ignore duplicates in aggregated cluster handling
2022-05-05 16:08:24 -04:00
Menghan Li 78b13f27de
xds/client: hold authority mutex before making a new authority (#5331) 2022-05-03 13:39:18 -07:00
Menghan Li ebd098392a
xds/eds: reject EDS resources with multiple instances of the same locality in the same priority (#5303) 2022-04-08 15:41:56 -07:00
Zach Reyes e583b196ce
xds: Add RLS in xDS e2e test (#5281) 2022-04-04 14:38:37 -07:00
Doug Fawley 3cccf6a43b
xdsclient: always backoff between new streams even after successful stream (#5280) 2022-04-01 10:20:47 -07:00
Zach Reyes 4e780933f8
xds: ignore routes with unsupported cluster specifiers (#5269) 2022-03-31 11:02:26 -07:00
Zach Reyes 99aae3442d
cluster manager: Add Graceful Switch functionality to Cluster Manager (#5265)
* cluster manager: Add Graceful Switch functionality to Cluster Manager
2022-03-30 18:01:37 -04:00
Easwar Swaminathan 51ddcbad16
xds: suppress redundant updates only when we are SERVING (#5258) 2022-03-21 15:47:58 -07:00
Easwar Swaminathan 4635bf287f
make the RLS LB policy name available in the internal package (#5259) 2022-03-21 15:47:31 -07:00
Zach Reyes 8078d1d541
balancergroup: Switched subBalancerWrapper to wrap a gracefulswitch.Balancer (#5245)
* balancergroup: Switched subBalancerWrapper to wrap a gracefulswitch.Balancer
2022-03-21 16:34:32 -04:00
Easwar Swaminathan f95b001a48
xds: avoid log spam during server mode switches (better A36 compliance) (#5215) 2022-03-17 14:35:42 -07:00
Menghan Li 97c3143418
xds/client: accept resources wrapped in discoverypb.Resource message (#5242) 2022-03-17 10:34:45 -07:00
Menghan Li fbe4ccbc1e
xds/client: include Node ID in error messages from the XdsClient (#5223) 2022-03-16 16:12:48 -07:00
Menghan Li 84793b56f6
xds/client: reset backoff when a message is received, even when the message is invalid (#5241) 2022-03-14 16:04:34 -07:00
Easwar Swaminathan a73725f42d
channelz: include channelz identifier in logs (#5192) 2022-02-23 07:30:06 -08:00
Easwar Swaminathan 02f384d41a
xds: rename rls proto import (#5205) 2022-02-22 17:16:01 -08:00
Easwar Swaminathan ec717cad73
xds: minor cleanup in xdsclient bootstrap code (#5195) 2022-02-15 15:41:49 -08:00
赵延 c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
Menghan Li 91967153f5
xds/priority: log warnings instead of errors (#5185) 2022-02-04 13:01:27 -08:00
Zach Reyes 1a63309895
xds: Add support for Outlier Detection configuration in xdsclient (#5183)
* Add support for Outlier Detection configuration in xdsclient
2022-02-04 15:21:08 -05:00
Anirudh Ramachandra c7f7d3a75c
xds/bootstrap: add plugin system for credentials specified in bootstrap file (#5136) 2022-02-01 14:01:50 -08:00
Easwar Swaminathan 980790869b
rls: support `routeLookupChannelServiceConfig` field (#5176) 2022-01-31 12:49:45 -08:00
Menghan Li 3b70fe08d8
xds: fix broken test "unknown field EnableLRS in struct" (#5170) 2022-01-27 10:27:28 -08:00
Menghan Li d31dbe7ad3
xds/resource: accept Self as LDS's RDS config source and CDS's EDS config source (#5152) 2022-01-26 11:39:28 -08:00
Menghan Li 0a68f8aff0
xds/federation: support federation in LRS (#5128) 2022-01-26 11:39:10 -08:00
Menghan Li e27717498d
xds/bootstrap: escape authority when populating resource name template (#5160) 2022-01-25 14:55:48 -08:00
Easwar Swaminathan 9cb4113808
xdsclient: make Close() idempotent (#5149) 2022-01-20 11:31:59 -08:00
Easwar Swaminathan 61a352e94e
rls: move RLS LB policy implementation out of internal (#5143) 2022-01-19 13:52:45 -08:00
Menghan Li 5350e74601
xds/controller: fix test nil panic on stream errors (#5144) 2022-01-19 12:56:41 -08:00