Commit Graph

3818 Commits

Author SHA1 Message Date
Menghan Li 582ef458c6
cluster_resolver: move balancer config types into cluster_resolver package and unexport (#4607) 2021-07-22 16:12:30 -07:00
Zach Reyes c513103bee
Add extra layer on top of RBAC Engine (#4576)
* Add extra layer in RBAC
2021-07-21 22:42:38 -04:00
Zach Reyes a0bed723f1
xds: add http filters to FilterChain matching (#4595)
* Add HTTP Filters to FilterChain
2021-07-21 21:58:19 -04:00
apolcyn 0a8c63739a
grpclb: propagate the most recent connection error when grpclb enters transient failure (#4605) 2021-07-21 10:50:37 -07:00
lzhfromustc 8332d5b997
test: fix possible goroutine leaks in unit tests (#4570) 2021-07-21 10:40:04 -07:00
Menghan Li 0300770df1
xds: support cluster fallback in cluster_resolver (#4594) 2021-07-21 10:22:02 -07:00
Jille Timmermans 65cabd74d8
internal/binarylog: Fix data race when calling Write() and Close() in parallel (#4604)
They both touched bufferedSink.writeTicker
2021-07-20 10:58:14 -07:00
Matt Jones ce7bdf50ab
advancedtls: CRL checking for golang gRPC (#4489)
* Code for CRL checking for golang gRPC.
2021-07-15 09:53:31 -07:00
John Howard 0103ea2d6c
client: improve GOAWAY debug messages (#4587) 2021-07-14 13:59:50 -07:00
Menghan Li b586e92158
xds/client: notify the resource watchers of xDS errors (#4564) 2021-07-14 13:10:19 -07:00
Jille Timmermans bfe1d0dc23
binarylog: Use a simple boolean rather than a sync.Once (#4581) 2021-07-14 11:34:40 -07:00
James Protzman ba41bbac22
transport: validate http 200 status for responses (#4474) 2021-07-14 10:54:58 -07:00
Menghan Li ebfe3be62a
cluster_resolver: implement resource resolver to resolve EDS and DNS (#4531) 2021-07-12 16:42:02 -07:00
Jille Timmermans 30dfb4b933
binarylog: Don't continue after failing to marshal the proto (#4582) 2021-07-08 10:06:55 -07:00
Jille Timmermans 51e780ce00
internal/binarylog: Use defer to unlock mutexes (#4590) 2021-07-08 10:06:11 -07:00
Easwar Swaminathan afad376189
Fix bootstrap format in comment (#4586) 2021-07-08 09:20:15 -07:00
Jille Timmermans 91e0aeb192
binarylog: Don't leak the flusher goroutine when closing a Sink (#4583)
time.Ticker.Stop() doesn't close the ticker channel, so we need to signal the goroutine to die some other way
2021-07-07 16:37:57 -07:00
Doug Fawley dd589923e1
clientconn: stop automatically connecting to idle subchannels returned by picker (#4579) 2021-07-02 16:21:46 -07:00
Ashitha Santhosh 52546c5d89
authorization: translate SDK policy to Envoy RBAC proto (#4523)
* Translates SDK authorization policy to Envoy RBAC proto.
2021-06-30 11:14:57 -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
Vicent Martí 83f9def5fe
internal/transport: do not mask ConnectionError (#4561) 2021-06-28 09:51:21 -07:00
Aliaksandr Mianzhynski 9b2fa9f8d3
server: improve chained interceptors performance (#4524) 2021-06-24 22:11:47 -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
Doug Fawley d9eb12feed
xdsclient: move tests out of tests directory (#4535) 2021-06-23 14:15:56 -07:00
Zach Reyes b9270c3a7f
client: add deadline for TransportCredentials handshaker (#4559)
* Add deadline on connection for TransportCredentials handshake
2021-06-23 16:36:24 -04:00
Menghan Li 4440c3b830
cluster_resolver: fix DiscoveryMechanismType marshal JSON (#4532) 2021-06-22 14:57:05 -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
Sergii Tkachenko 50328cf800
buildscripts: add option to use xds-k8s test driver from a fork (#4548) 2021-06-21 12:11:57 -07:00
Iskandarov Lev 4faa31f0a5
stats: add stream info inside stats.Begin (#4533) 2021-06-18 13:21:07 -07:00
Doug Fawley 74fe073e9a
Revert "xds: require router filter when filters are empty" (#4556)
This reverts commit 00ae0c57cc.
2021-06-17 16:53:52 -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 151c8b770a
xds/clusterimpl: fix race between picker update and ClientConn state update (#4551) 2021-06-17 11:14:00 -07:00
Aliaksandr Mianzhynski 00ae0c57cc
xds: require router filter when filters are empty (#4553) 2021-06-17 10:23:18 -07:00
Zach Reyes 633fbe4dfe
xds: generate per-request hash config selector (#4525)
* xds: generate per-request hash in config selector
2021-06-17 09:00:05 -04:00
Konrad Reiche 7e35356501
metadata: add Delete method to MD (#4549) 2021-06-16 16:56:04 -07:00
Menghan Li 4c651eda23
xds: move eds package to cluster_resolver (#4545) 2021-06-16 11:04:33 -07:00
Menghan Li 549c53a90c
xds/eds: rewrite EDS policy using child policies (#4457) 2021-06-15 14:03:10 -07:00
Menghan Li cd9f53ac49
xds/cds: update CDS balancer to partially handle aggregated cluster (#4539) 2021-06-15 11:09:10 -07:00
Doug Fawley f06e0060c6
Change version to 1.40.0-dev (#4543) 2021-06-15 10:49:54 -07:00
Zach Reyes 22c5358187
xds: add HashPolicy fields to RDS update (#4521)
* Add HashPolicy fields to RDS update
2021-06-14 15:02:50 -04:00
Menghan Li 45549242f7
internal: fix deadlock during switch_balancer and NewSubConn() (#4536) 2021-06-11 13:14:09 -07:00
Dustin Ward 2d3b1f900e
grpc: prevent deadlock in Test/ClientUpdatesParamsAfterGoAway on failure (#4534) 2021-06-11 09:48:03 -07:00
Doug Fawley 6351a55c38
xds: remove env var protetion of advanced routing features (#4529) 2021-06-10 09:33:06 -07:00
Aliaksandr Mianzhynski 95e48a892d
Add GetServiceInfo to xds.GRPCServer (#4507) 2021-06-09 11:05:17 -07:00
Doug Fawley aa1169ab7c
vet: remove support for non-module-aware Go versions (#4530) 2021-06-09 10:01:40 -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
Menghan Li 7301a31174
c2p: add random number to xDS node ID in google-c2p resolver (#4519) 2021-06-07 21:57:17 -07:00
Doug Fawley d30e2c91a0
xds/resolver: test xds client closed by resolver Close (#4509) 2021-06-07 17:13:48 -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