Граф коммитов

283 Коммитов

Автор SHA1 Сообщение Дата
Menghan Li a12250e98f
xds/cds: add env var for aggregated and DNS cluster (#4440) 2021-05-14 15:20:45 -07:00
Zach Reyes b759b408e8
xds: moved shared matchers to internal/xds (#4441)
* Moved shared matchers to internal/xds
2021-05-14 17:02:10 -04:00
Easwar Swaminathan dc77d7ffe3
xds: revert a workaround made in #4413 (#4428) 2021-05-12 18:03:52 -07:00
Menghan Li a712a73889
xds/cds: add separate fields for cluster name and eds service name (#4414) 2021-05-12 16:25:07 -07:00
Menghan Li 9cb99a5211
xds: pretty print xDS updates and service config (#4405) 2021-05-12 15:48:16 -07:00
Zach Reyes 45e60095da
xds: add support for aggregate clusters (#4332)
Add support for aggregate clusters in CDS Balancer
2021-05-12 17:28:49 -04:00
Easwar Swaminathan 8bf65c69b9
xds: use same format while registering and watching resources (#4422) 2021-05-12 10:18:50 -07:00
Easwar Swaminathan 5f95ad6233
xds: workaround to deflake xds e2e tests (#4413) 2021-05-11 10:39:31 -07:00
Easwar Swaminathan b1940e15f6
xds: register resources at the mgmt server before requesting them (#4406) 2021-05-10 10:11:31 -07:00
Doug Fawley 98c895f7e0
cleanup: use testutils.MarshalAny in more places (#4404) 2021-05-10 09:35:55 -07:00
Easwar Swaminathan 12a377b1e4
xds: nack route configuration with regexes that don't compile (#4388) 2021-05-07 15:42:59 -07:00
Easwar Swaminathan aff517ba8a
xds: make e2e tests use a single management server instance (#4399) 2021-05-07 14:35:48 -07:00
Doug Fawley 0439465fe2
xds_resolver: fix flaky Test/XDSResolverDelayedOnCommitted (#4393)
Before this change, if two xds client updates came too close together, the second one could replace the first one.  The fix is to wait for the effects of the first update before sending the second update.  I injected a synthetic delay into handling the updates from the channel to reproduce this flake 100%, and confirmed this change fixes it.

As part of this change I also noticed that we're actually calling the context cancellation function twice via defers, and never the cancel function from the test setup, so I fixed that, too.
2021-05-07 11:57:56 -07:00
Easwar Swaminathan 40b25c5b2c
xds: set correct order of certificate providers in handshake info (#4350) 2021-05-05 12:34:15 -07:00
Easwar Swaminathan 0fc0397d77
xds: actually close stuff in cds/eds `Close()` (#4381) 2021-05-04 16:54:57 -07:00
Doug Fawley 4f3aa7cfa1
xds: optimize fault injection filter with empty config (#4367) 2021-05-04 15:29:58 -07:00
Easwar Swaminathan 79e55d6444
xds: use SendContext() to fail in time when the channel is full (#4386) 2021-05-04 15:06:43 -07:00
Doug Fawley 11bd77660d
xds: work around xdsclient race in fault injection test (#4377) 2021-05-04 14:51:32 -07:00
Easwar Swaminathan 75497df97f
meshca: remove meshca certificate provider implementation (#4385) 2021-05-04 14:38:47 -07:00
Menghan Li ebd6aba675
Revert "xds/cds: add separate fields for cluster name and eds service name" (#4382)
This reverts PRs #4352 (and two follow up fixes #4372 #4378).
Because the xds interop tests were flaky.

Revert before the branch cut.
2021-05-03 15:16:49 -07:00
Menghan Li b418de839e
xds/eds: restart EDS watch after previous was canceled (#4378) 2021-04-30 11:53:31 -07:00
Menghan Li c3b66015bd
xds/circuit_breaking: use cluster name as key, not EDS service name (#4372) 2021-04-29 11:56:50 -07:00
Menghan Li 24d03d9f76
xds/priority: add ignore reresolution boolean to config (#4275) 2021-04-27 15:22:25 -07:00
Menghan Li 7c5e73795d
xds/cds: add separate fields for cluster name and eds service name (#4352) 2021-04-27 13:37:48 -07:00
Easwar Swaminathan 52a707c0da
xds: serving mode changes outlined in gRFC A36 (#4328) 2021-04-26 14:29:06 -07:00
Menghan Li e158e3e82c
xds/lrs: server name is not required to be non-empty (#4356) 2021-04-23 13:15:21 -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
Zach Reyes 1c598a11a4
Move exponential backoff to DNS resolver from resolver.ClientConn (#4270) 2021-04-20 13:20:09 -04: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
Easwar Swaminathan 6fafb9193b
xds: support unspecified and wildcard filter chain prefixes (#4333) 2021-04-13 15:31:34 -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
Easwar Swaminathan fab5982df2
xds: server-side listener network filter validation (#4312) 2021-04-09 16:49:25 -07:00
Menghan Li 1d1bbb55b3
weightedtarget: handle updating child policy name (#4309) 2021-04-08 16:11:44 -07:00
Easwar Swaminathan 69f6f5a512
xds: add support for unsupported filter matchers (#4315) 2021-04-08 15:52:49 -07:00
Menghan Li 1895da54b0
xds/resolver: fix panic when two LDS updates are receives without RDS in between (#4327)
Also confirmed that the LDS updates shouldn't trigger state update without the
RDS.
2021-04-08 11:34:02 -07:00
Doug Fawley 493d388ad2
xds/csds: update proto imports to separate grpc from non-grpc symbols (#4326) 2021-04-06 15:09:00 -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 9a10f35787
balancergroup: fix leak child balancer not closed (#4308) 2021-04-06 13:11:49 -07:00
Menghan Li 777b228b59
xds: fix service request counter flaky test (#4324) 2021-04-06 10:55:19 -07:00
Zach Reyes db81623545
xds: Add fields to cluster update (#4277)
* Added support for more fields in CDS response
2021-04-01 14:41:47 -04:00
Easwar Swaminathan f6bb3972ed
xds: filter chain matching logic for server-side (#4281) 2021-03-31 16:58:24 -07:00
Menghan Li c72e1c8f75
xds/resolver: support inline RDS resource from LDS response (#4299) 2021-03-31 16:30:10 -07:00
Doug Fawley 702608ffae
xds: enable timeout, circuit breaking, and fault injection by default (#4286) 2021-03-24 10:20:16 -07:00
Doug Fawley faf4e1c777
xds: rename proto import to grpc (#4287) 2021-03-23 15:19:03 -07:00
Doug Fawley 46da49ca60
xds: use different proto import for grpc services (#4285) 2021-03-23 13:26:01 -07:00
Menghan Li d26af8e391
admin: implement admin services (#4274) 2021-03-22 15:14:11 -07:00
Menghan Li bce1cded4b
internal: use strings.Replace instead strings.ReplaceAll (#4279)
strings.ReplaceAll is only available after go 1.12. We still support go 1.11.
2021-03-18 16:01:39 -07:00