e1d95c39ad
credentials/alts: Support UDS addresses in ALTS interop test server ( #2763 )
...
* Support UDS addresses in ALTS interop test server
* Fix flag description
* Fixed comment
* Fix comment
2019-04-11 16:49:01 -07:00
597a4aa027
grpc: remove excess new line from the log statement ( #2766 )
2019-04-11 14:31:07 -07:00
ee9f7f0c9a
interop: add test case for "pick_first" ( #2762 )
2019-04-11 14:22:58 -07:00
3f98697f44
grpclb: handle service config and switch to pickfirst ( #2719 )
2019-04-11 11:25:27 -07:00
289eb50d88
internal: clean up README ( #2764 )
2019-04-11 10:11:17 -07:00
e33051174b
Change version to 1.21.0-dev ( #2759 )
2019-04-09 14:51:00 -07:00
bc316a57d4
doc: fixing link in keepalive docs ( #2755 )
...
The link for enforcement policy in the keepalive docs is wrong.
fixes #2754
2019-04-09 11:34:45 -07:00
981ad1f9d2
doc: fixing broken link in rpc-error doc ( #2753 )
...
The link for example in the documentation for RPC errors redirects to the wrong URL.
Fixes #2752
2019-04-09 11:33:11 -07:00
4abb3622b0
tls: append h2 to tlsconfig.NextProtos ( #2744 )
2019-04-08 09:56:02 -07:00
b03f6fd5e3
internal: balancer/xds go1.12 only ( #2748 )
...
Until https://github.com/envoyproxy/go-control-plane/issues/168 is fixed
2019-04-05 13:51:39 -07:00
d37bd82db6
Fix DialContext when using a timeout ( #2737 )
...
Fixes #2736
2019-04-04 09:58:15 -07:00
ea5e6da287
service config: default service config ( #2686 )
2019-04-03 10:50:28 -07:00
4745f6ae0d
grpclb: fallback after init ( #2681 )
...
regenerate picker when switching between fallback/non-fallback, because new SubConn state might not be updated for cached SubConns
2019-04-02 16:27:52 -07:00
955eb8a3c8
channelz: cleanup channel registration if Dial fails ( #2733 )
2019-04-02 15:42:35 -07:00
d389f9fac6
balancer: add server loads from RPC trailers to DoneInfo ( #2641 )
2019-04-02 11:15:36 -07:00
924457101b
syscall: remove logging in init(). ( #2734 )
...
The same as https://github.com/grpc/grpc-go/pull/2373 .
Signed-off-by: Yangmin Zhu <ymzhu@google.com>
2019-04-02 10:36:15 -07:00
f1437f7cc5
server: Improve error message when an unknown method is invoked. ( #2723 )
...
Previously only `unknown service <x>` was returned, which is misleading
when the service is known but the method is unknown.
2019-03-27 16:19:28 -07:00
9a2caafd93
client: restore remote address in traces ( #2718 )
...
The client-side traces were otherwise only showing `RPC: to <nil>`,
which is not helpful.
Also clean up construction of traceInfo and firstLine in a few places.
2019-03-27 09:52:40 -07:00
ed10349f45
stats: add WireLength to stats.InPayload ( #2692 ) ( #2711 )
2019-03-25 15:42:16 -07:00
6d8271a06c
credentials: add compute engine channel creds ( #2708 )
2019-03-25 14:47:12 -07:00
ef9bac2604
cleanup: remove unnecessary ignoreContentType field ( #2715 )
2019-03-22 13:56:18 -07:00
0e83fbebe8
encoding: check whether encoding.Name() is empty before calling strings.ToLower ( #2707 )
2019-03-22 13:34:43 -07:00
aded19ed6f
update to use new fancy issue templates ( #2712 )
2019-03-22 10:50:40 -07:00
3910b873d3
bar: add ability to update resolver state atomically and pass directly to the balancer ( #2693 )
2019-03-22 10:48:55 -07:00
bcfa7b30ac
Downgrade grpclb package info logs to V(2). ( #2710 )
...
Fixes #2709 .
2019-03-22 10:11:37 -07:00
22c2121b7d
benchmark: exit after printing help when using -h
( #2701 )
2019-03-21 12:04:35 -07:00
66cd524910
transport: stop using http.CloseNotifier in handler server ( #2697 )
2019-03-20 13:32:46 -07:00
d021e89b3f
internal: fix Dial_OneBackoffPerRetryGroup ( #2689 )
...
* internal: fix Dial_OneBackoffPerRetryGroup
Instead of mutating global variables, switches getMinConnectDeadline to a
dial option.
Fixes #2687 .
* rename getMinConnectTimeoutFunc to minConnectTimeout, ditto dial opt
2019-03-20 13:58:29 -06:00
495133b619
internal: fix pickoptions in balancer_test ( #2698 )
...
The same test was changed by two PRs, merge didn't catch the conflict
2019-03-19 13:26:46 -07:00
ce45558927
balancer: make sure non-nil done returned by Pick is called ( #2688 )
...
Special case: when SubConn returned by Picker is not Ready, call done before
looping back to re-pick.
2019-03-19 10:47:09 -07:00
272a4b69f1
transport: do not close channel that can lean to panic ( #2695 )
...
`Write` can be called concurrently, for which it calls the `do` function.
As `WriteStatus` can close the `ht.writes` in parallel as well the `Write`
will try to write into the `ht.writes` in the `do` function, this can
lead into a panic. As there is no real usability on closing this channel
we can simply leave it to the garbage collector so we can avoid panic
during an execution.
Signed-off-by: André Martins <aanm90@gmail.com>
2019-03-19 10:29:19 -07:00
fba6715d1c
addrConn: resetTransport loop cleanup ( #2676 )
...
Refactor retry loop after #2673
2019-03-19 10:28:26 -07:00
d7d977965e
grpclb: support pickfirst ( #2652 )
...
Use pickfirst as balancing policy for backends. It can only set at init time.
Does not support changing with service config now.
2019-03-19 10:17:31 -07:00
3c84def893
balancer: remove Header from PickOptions; it is also available through context ( #2674 )
2019-03-15 09:00:55 -07:00
2d5c4dfb95
server: send RST_STREAM after trailers if client has not half-closed ( #2684 )
...
Fixes #834
2019-03-14 15:15:50 -07:00
2098091c81
dns: prefixing txt record lookup with "_grpc_config." ( #2691 )
2019-03-14 13:40:48 -07:00
7c93bdf75a
internal: update x/lint dependency ( #2690 )
...
golang.org/x/lint recently got a go.mod d0100b6bd8
Let's be sure to minimally use this version, since its dependencies are
now codified.
This CL was generated by deleting the x/lint line in go.mod and running
`go mod tidy`.
2019-03-14 14:38:41 -06:00
3958fc86cc
addrConn: resetTransport cleanup ( #2673 )
2019-03-14 13:14:19 -07:00
ff28255d10
cleanup: fix typo in comment ( #2657 )
...
Although it is spelling mistakes, it might make an effect while reading.
2019-03-14 13:12:48 -07:00
9c3a959569
stats: add Trailer to client-side stats.End ( #2639 )
...
Currently, it is not possible to access trailers from within a
stats.Handler. The reason is that both stats.Handler and
ClientStream.Trailer require a lock on the ClientStream.
A workaround would be to start a separate goroutine that will call
ClientStream.Trailer asynchronously, but that requires careful
coordination and we can quite easily make the trailer metadata available
to the stats.Handler directly.
Use case: an interceptor that processes trailer metadata for each
streaming RPC after the stream has finished. Note that a
StreamClientInterceptor returns immediately, before the stream has
finished and before the trailer metadata is available.
2019-03-13 10:10:52 -07:00
d3f95b277a
xds: fix xds api change breakage ( #2685 )
2019-03-12 15:41:26 -07:00
77ce7bc228
minor: typo fix ( #2680 )
2019-03-11 15:06:47 -07:00
69e99ca520
grpclb: keep drop index unless a new serverlist is received ( #2631 )
...
Keep the drop index from the previous picker when regenerating picker due to
subchannel state change. Only reset the drop index when picker is regenerated
because of a serverlist update.
fixes #2623
2019-03-11 10:09:16 -07:00
29adad9d71
edsbalancer: fix address format ( #2675 )
2019-03-08 15:17:55 -08:00
5abb35752c
client: reset backoff to 0 after a connection is established ( #2669 )
...
#2663
#2636
2019-03-08 10:16:19 -08:00
a1a84e16d0
service config: make retryThrottling maxTokens setting of 1000 valid ( #2670 )
2019-03-07 14:30:57 -08:00
2369d0a0a1
travis: add Go 1.12.x to CI ( #2671 )
2019-03-07 13:31:25 -08:00
a618c37a27
server: Don't log errors on ErrConnDispatched ( #2656 )
...
ErrConnDispatched is a normal error -- we should not fill up logs with it.
2019-03-07 13:22:17 -08:00
79c9bc6794
client: handle HTTP header parsing error correctly ( #2599 )
2019-03-06 10:59:01 -08:00
45890ffd9e
xds: lowercase the field name ( #2666 )
2019-03-04 15:22:39 -08:00