3204 Commits

Author SHA1 Message Date
a43f3ee96c interop: add xds test client and server (#3326)
https://github.com/grpc/grpc/blob/master/doc/xds-test-descriptions.md
2020-02-24 13:45:21 -08:00
5b44288e25 internal: update service config proto (#3389) 2020-02-24 10:44:45 -08:00
7392afe7d2 xds: client should handle new watch requests even if there's no working stream (#3376)
This can happen when the xds ClientConn is in transient failure (a
config error on the server address or creds, or a connection error).
When this happens, the new watches should still be handled, and should
be notified of failure when timeout.
2020-02-18 13:59:21 -08:00
fff75ae40f channelz: log on channelz trace events and trace on channelz relevant logs. (#3329)
channelz: log on channelz trace events and trace on channelz relevant logs. (#3329)
2020-02-14 10:11:26 -08:00
a10661dd0a credentials: deprecate ProtocolInfo.SecurityVersion (#3372)
credentials: deprecate ProtocolInfo.SecurityVersion (#3372)
2020-02-14 10:10:00 -08:00
6b9bf4296e Revert "profiling: add hooks within grpc (#3159)" (#3378)
This reverts commit 83263d17f75d76339f8e2d3b1d2d8364746349f3.
2020-02-14 07:56:46 -08:00
92dd426e0c balancer/base: keep bad SubConns in TransientFailure until Ready (#3366) 2020-02-12 15:41:45 -08:00
d0235e4d6b interceptor: new APIs for chaining server interceptors. (#3336) 2020-02-12 11:11:50 -08:00
95c834a73c xds: resolver handle good update after getting an error (#3374) 2020-02-12 11:11:21 -08:00
83263d17f7 profiling: add hooks within grpc (#3159) 2020-02-12 11:10:44 -08:00
a431daa3bc testutil: add a mutex to tLogger to protect errors map (#3373)
tlogger: Added mutex to protect errors map.
2020-02-12 10:21:58 -08:00
f3111a575a interop: Build grpclb_fallback/client.go only for linux. (#3375) 2020-02-12 00:49:35 -08:00
e38032e927 internal: Move parseTarget function into internal package and export it. (#3368)
This will be used by RLS LB policy to validate targets specified in the
service config.
2020-02-11 17:51:29 -08:00
eb53a9e8ba internal: Update service_config.pb.go (#3365)
To reflect changes made in https://github.com/grpc/grpc-proto/pull/73
2020-02-07 08:37:54 -08:00
d76e57cb09 rls: Implementation of RLS key builders. (#3344) 2020-02-06 20:57:36 -08:00
979f0a2f08 client: clarify units of send/receive message size call options (#3354) 2020-02-06 15:40:53 -08:00
0ab367d24a examples: add client/server to be used for xds examples (#3362) 2020-02-06 14:51:54 -08:00
132187f04c Modified tests to use tlogger. (#3343)
* Modified tests to use tlogger.

* Fail on errors, with error expectations.

* Added expects and MixedCapsed grpclb_config tests

* Moved tlogger to grpctest, moved leakcheck tester to grpctest.go

* Added ExpectErrorN()

* Removed redundant leak checks

* Fixed new test

* Made tlogger globals into tlogger methods

* ErrorsLeft -> EndTest

* Removed some redundant lines

* Fixed error in test and empty map in EndTest
2020-02-06 13:03:20 -08:00
cb03b9f65c balancer/base: consider an empty address list an error (#3361) 2020-02-05 13:16:31 -08:00
597699c0ef grpclb: support explicit fallback signal (#3351) 2020-02-05 10:16:25 -08:00
13535f71d1 rls: Implementation of the adaptive client-side throttler. (#3346) 2020-02-05 03:32:31 -08:00
648cf9b00e advancedtls: use grpc 1.27.0 and small fixes (#3360) 2020-02-04 12:46:21 -08:00
3ae60ebf74 stats: create new MD for outgoing header if no MD is available (#3357) 2020-02-04 08:07:17 -08:00
e0e0cbc795 xds: move "_experimental" to suffix for all balancers (#3356) 2020-02-03 15:39:32 -08:00
77bc3d3983 test/tools: update protoc-gen-go version used by vet.sh (#3355) 2020-02-03 11:06:34 -08:00
1f6cca9665 README: update SupportPackageIsVersion help in FAQ section (#3350) 2020-01-31 10:58:04 -08:00
7621679bee stats: add client side user agent to outgoing header (#3331) 2020-01-31 10:34:44 -08:00
b88d2d7465 protobuf: update protoc-gen-go version and generated code (#3345) 2020-01-30 10:23:21 -08:00
f97821dd2f advancedtls: add end to end tests (#3318) 2020-01-28 14:24:27 -08:00
822723f716 xds: Enable keepalives on the xds client channel. (#3335)
We are using some sane defaults for now:
KeepaliveTime: 5 minutes
KeepaliveTimeout: 20 seconds
PermitWithoutStream: false

This does differ with the defaults used internally, but we are OK with
it, because it is more important to have a reasonable value here than
having one that works for all deployments or even making this
configurable through the bootstrap file.
2020-01-28 13:57:42 -08:00
ca10cab155 Change version to 1.28.0-dev (#3342) 2020-01-28 13:56:49 -08:00
1ce7569121 rls: Add generated pb.go files for RLS. (#3337)
Source: https://github.com/grpc/grpc-proto/tree/master/grpc/lookup/v1
Generated by running the regenerate.sh script, also added as part of
this PR.
2020-01-27 13:58:20 -08:00
8c50fc2565 revert buffer reuse (#3338)
* Revert "stream: fix returnBuffers race during retry (#3293)"

This reverts commit ede71d589cc36a6adff7244ce220516f0b3e446b.

* Revert "codec/proto: reuse of marshal byte buffers (#3167)"

This reverts commit 642675125e198ce612ea9caff4bf75d3a4a45667.
2020-01-27 13:30:41 -08:00
7afcfdd66b client: add interface for ClientConn to be accepted by generated code (#3334) 2020-01-24 14:49:31 -08:00
1f66bc9efb xds: propogate bootstrap error to grpc.Dial (#3330) 2020-01-23 12:45:58 -08:00
27fd7d000e balancer/resolver: remove temporary backward-compatibility type aliases (#3309) 2020-01-22 08:59:42 -08:00
3311b9ea68 grpclb: update proto from grpc/grpc-proto (#3323) 2020-01-15 16:17:42 -08:00
d670c2dcc8 advancedtls: fix internal tests (#3322)
fix an internal error in advanced_tls.test. Previous check is to check against the prefix of the ServerName, which might be different in various environments. We'd better not rely on checking that.
2020-01-15 14:03:38 -08:00
cd74fa23ea internal: remove withResolverBuilder and use WithResolvers instead (#3321) 2020-01-15 08:54:42 -08:00
62d4bd73ba security: Add a package level comment to testdata package in advancedtls (#3317) 2020-01-14 14:10:59 -08:00
0083f6eefc client: add WithResolvers options for specifying client-local resolvers (#3320) 2020-01-14 12:44:21 -08:00
e8a4440d49 grpctest: implement grpclogger using testing.T and inject in tests (#3260) 2020-01-13 14:02:31 -08:00
c35a580b0c Revert "balancer: move Balancer and Picker to V2; delete legacy… (#3315)
This reverts commit 336cf8d76145dc5ebd517fd9c19e14c6822450b3.
2020-01-13 13:12:55 -08:00
20bce9a0c6 advancedtls: add package for testdata (#3306) 2020-01-10 14:33:38 -08:00
336cf8d761 balancer: move Balancer and Picker to V2; delete legacy API (#3301) 2020-01-10 13:44:48 -08:00
69baa3f192 credentials: close tls.Conn on failure (#3300) 2020-01-10 13:41:22 -08:00
02c70004a2 xds: delete old xds resolver (#3303)
And rename the new resolver from xds-experimental-new to
xds-experimental.
2020-01-09 12:28:05 -08:00
1a3212aaf5 lint: add missing package level comments (#3302) 2020-01-08 11:31:36 -08:00
ede71d589c stream: fix returnBuffers race during retry (#3293)
And release the buffer after Write(), unless the buffer needs to be kept for retries.
2020-01-07 17:17:22 -08:00
4a4d179f28 advancedtls: add new module for advanced TLS handshaker (#3187) 2020-01-07 15:47:01 -08:00