Commit Graph

225 Commits

Author SHA1 Message Date
Zach Reyes e583b196ce
xds: Add RLS in xDS e2e test (#5281) 2022-04-04 14:38:37 -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
Easwar Swaminathan 94ee3865e1
test: cleanup roundrobin tests to use stubserver (#5236) 2022-03-15 17:01:07 -07:00
Easwar Swaminathan a73725f42d
channelz: include channelz identifier in logs (#5192) 2022-02-23 07:30:06 -08:00
赵延 c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
Easwar Swaminathan 980790869b
rls: support `routeLookupChannelServiceConfig` field (#5176) 2022-01-31 12:49:45 -08:00
Easwar Swaminathan 593ff8d017
rls: service field in RLS request must not contain slashes (#5168) 2022-01-27 15:03:30 -08:00
Easwar Swaminathan 449f1b222a
grpclb: rename LB policy config field to `serviceName` (#5166) 2022-01-25 10:53:10 -08:00
Easwar Swaminathan fa62572afe
rls: make the data cache purge ticker a field in rlsBalancer (#5154) 2022-01-20 09:21:16 -08:00
Easwar Swaminathan f93e8e6737
rls: return status error from server interceptor in test (#5153) 2022-01-19 16:48:55 -08:00
Easwar Swaminathan 61a352e94e
rls: move RLS LB policy implementation out of internal (#5143) 2022-01-19 13:52:45 -08:00
Easwar Swaminathan aad573d86b
rls: LB policy implementation (#4992) 2022-01-18 08:45:23 -08:00
Easwar Swaminathan b3d19efee6
rls: move the data cache implementation into the rls package (#5060) 2021-12-22 13:50:56 -08:00
Shihao Xia ec7cf6c977
grpclb: fix possible nil before conversion in TestDropRequest (#5022) 2021-12-22 12:41:46 -08:00
Easwar Swaminathan 956c594855
rls: minor config processing changes (#5061) 2021-12-21 13:32:22 -08:00
Doug Fawley c285fc70e0
cmd/protoc-gen-go-grpc: update version for release (#5070) 2021-12-20 15:40:38 -08:00
Zach Reyes 029b822735
xds: Add RLS Cluster Specifier Plugin (#5004)
* xds: Add RLS Cluster Specifier Plugin
2021-12-15 17:58:03 -05:00
Easwar Swaminathan 50f82701b5
rls: control channel implementation (#5046) 2021-12-15 09:37:05 -08:00
Huang Chong bd7076973b
test: cleanup roundrobin_test (#5005) 2021-12-08 13:18:56 -08:00
Easwar Swaminathan 512e89474b
rls: support extra_keys and constant_keys (#4995)
* rls: support extra_keys and constant_keys

* review comments

* use the constant_keys map from the proto
2021-12-03 15:25:06 -08:00
Easwar Swaminathan 6f8796bc00
rls: double import rls protos (#5003)
Use `rlspb` for messages and `rlsgrpc` for services
2021-11-29 14:27:43 -08:00
Easwar Swaminathan f45e617974
rls: move pb.gos to grpc/internal/proto/grpc_lookup_v1 (#4993) 2021-11-18 16:51:41 -08:00
Easwar Swaminathan 82d8af8bf0
balancer: add Authority field to balancer.BuildOptions (#4969) 2021-11-11 10:59:18 -08:00
Easwar Swaminathan 714ba8d517
xds: move balancergroup and weightedtarget our of xds directory (#4966) 2021-11-09 11:59:10 -08:00
Ryan Leung 14ebd917f2
lint: fix some unused parameter issues (#4956) 2021-11-09 11:18:21 -08:00
Easwar Swaminathan 6d465fe912
grpclb: move restartableListener to testutils (#4919) 2021-11-01 11:04:24 -07:00
Menghan Li bb655a914d
internal: update rls.pb.go (#4913) 2021-10-29 11:45:00 -07:00
Doug Fawley f00baa6c3c
resolver: replace AddressMap.Range with Keys (#4891)
Co-authored-by: Menghan Li <menghanl@google.com>
2021-10-20 15:07:37 -07:00
Menghan Li bd0f88150d
grpclb: recover after receiving an empty server list (#4879) 2021-10-20 10:52:03 -07:00
Doug Fawley 36d87572db
attributes: add Equal method; resolver: add AddressMap and State.BalancerAttributes (#4855) 2021-10-15 10:39:56 -07:00
Easwar Swaminathan 7e5fcc68f6
rls: update rls proto (#4877) 2021-10-14 19:48:43 -07:00
Easwar Swaminathan 6c56e211a0
grpclb: add `target_field` to service config (#4847) 2021-10-11 14:55:12 -07:00
Easwar Swaminathan b9f62538f0
rls: pull proto changes made in grpc-proto/pull/98 (#4832) 2021-10-01 11:09:26 -07:00
Easwar Swaminathan adb21c4610
rls: improve config parsing (#4819) 2021-09-29 16:58:46 -07:00
Doug Fawley 03268c8ed2
balancer: fix aggregated state to not report idle with zero subconns (#4756) 2021-09-10 16:25:09 -07:00
Doug Fawley 8ab16ef276
balancer: add ExitIdle optional interface (#4673) 2021-08-18 15:04:35 -07:00
Aliaksandr Mianzhynski 9c668aeab8
all: preallocate slices where possible (#4609) 2021-08-11 09:17:59 -07:00
Doug Fawley 997ce619eb
clientconn: do not automatically reconnect addrConns; go idle instead (#4613) 2021-08-10 13:22:34 -07:00
apolcyn 0a8c63739a
grpclb: propagate the most recent connection error when grpclb enters transient failure (#4605) 2021-07-21 10:50:37 -07:00
Menghan Li aa3ef8fb8f
internal: regenerate proto (#4373) 2021-04-29 12:17:56 -07:00
Aliaksandr Mianzhynski d6abfb4598
cmd/protoc-gen-go-grpc: add protoc and protoc-gen-go-grpc versions to top comment (#4313) 2021-04-09 16:30:59 -07:00
longxboy 80e380eff4
balancer/base: keep address attributes for pickers (#4253) 2021-03-25 13:08:24 -07:00
Easwar Swaminathan 2f7f1f6c22
rls: update pb.gos after https://github.com/grpc/grpc-proto/pull/92 (#4257) 2021-03-11 12:07:48 -08:00
Easwar Swaminathan 9dfe677337
balancer: Add UpdateAddresses() to balancer.ClientConn interface (#4215) 2021-02-25 15:48:39 -08:00
Doug Fawley 938f6e2f75
cmd/protoc-gen-go-grpc: add gRPC-Go version comment and update release version (#4152) 2021-01-14 14:28:25 -08:00
Menghan Li 4a0125ac58
roundrobin: strip attributes from addresses (#4024) 2020-11-30 14:20:03 -08:00
Edmond 8f3cc6cc26
protoc-gen-go-grpc: export grpc.ServiceDesc (#4035) 2020-11-23 14:56:57 -08:00
Menghan Li 78864797b8
balancer: set RPC metadata in address attributes, instead of Metadata field (#4041)
This metadata will be sent with all RPCs on the created SubConn
2020-11-18 17:12:51 -08:00
Timothy Gu 20636e76a9
protobuf: update protoc to latest version (#4038)
Presently, protoc 3.3.0 (released in 2017) is still being used. This
commit updates the vet.sh script as well as existing generated files to
use protoc 3.14.0 instead.

The only concrete change this brings is updated import paths of
Timestamp and Duration types. However, in practice this is a no-op,
since the types themselves are already aliased to the new import path:

- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/duration#Duration
- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/timestamp#Timestamp
2020-11-16 16:59:46 -08:00
Menghan Li 1d01bf995d
grpclb: consider IDLE SubConns as connecting (#4031)
Otherwise, when the first response is received from the grpclb server, the
parent ClientConn enters TransientFailure, and the first several
non-wait-for-ready RPCs will fail.
2020-11-16 11:57:00 -08:00