Commit Graph

3938 Commits

Author SHA1 Message Date
Zach Reyes ad87ad0098
xds: Add support for Dynamic RDS in listener wrapper (#4655)
* Add support for Dynamic RDS in listener wrapper
2021-08-11 18:48:24 -04:00
Lidi Zheng 88dc96b463
Copy the tag_and_push_docker_image method to grpc-go (#4667) 2021-08-11 14:33:44 -07:00
Aliaksandr Mianzhynski 9c668aeab8
all: preallocate slices where possible (#4609) 2021-08-11 09:17:59 -07:00
Lidi Zheng c7c1e9e0ec
Update xDS client/server image per-branch tag after build (#4661) 2021-08-10 20:31:26 -07:00
Doug Fawley 997ce619eb
clientconn: do not automatically reconnect addrConns; go idle instead (#4613) 2021-08-10 13:22:34 -07:00
Zach Reyes 01bababd83
Added connection to transport context (#4649)
* Added connection to transport context
2021-08-09 23:15:57 -04:00
Easwar Swaminathan 574137db7d
xds: fix flaky test (TestPickerUpdateAfterClose) (#4658) 2021-08-06 10:56:44 -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
Zach Reyes 74370577fa
xds: Add route to filterchain (#4610)
* Added RDS Information from LDS in filter chain
2021-08-05 17:28:06 -04:00
Menghan Li 6ba56c814b
transport: fix race accessing s.recvCompress (#4645)
This is a backport of #4641
2021-08-03 15:12:56 -07:00
Menghan Li 0d6854ab5e
transport: fix race accessing s.recvCompress (#4641) 2021-08-03 14:17:02 -07:00
Doug Fawley edb9b3bc22
github: update stale bot to v4 (#4636) 2021-08-02 15:56:58 -07:00
Menghan Li c052940bcd
server: fix leaked net.Conn (#4633)
This happens when NewServerTransport() returns nil, nil. The rawConn is
closed when the transport is closed, which will never happen in this
case (since the returned transport is nil).
2021-08-02 13:05:02 -07:00
ZhenLian 8ed8dd2655
advancedtls: fix a typo in crl.go (#4634) 2021-08-02 13:03:54 -07:00
Easwar Swaminathan ea9b7a0a76
xds: fix a typo (#4631) 2021-07-29 17:23:32 -07:00
April Kyle Nassi ad0a2a847c
Update MAINTAINERS.md (#4628)
moved 2 to emeritus list
2021-07-28 14:46:46 -07:00
raymonder jin 61c704607b
fix typo (#4616) 2021-07-28 14:02:38 -04:00
Zach Reyes 245ad25715
Change version to 1.41.0-dev (#4625) 2021-07-27 15:13:18 -04:00
Lidi Zheng 00edd8c13a
Add xDS k8s url-map test Kokoro job (#4614) 2021-07-26 13:02:56 -07:00
Doug Fawley 1ddab33869
client: fix detection of whether IO was performed in NewStream (#4611)
For transparent retry.

Also allow non-WFR RPCs to retry indefinitely on errors that resulted in no I/O; the spec used to forbid it at one point during development, but it no longer does.
2021-07-23 10:37:18 -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
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