etcd/embed
Gyu-Ho Lee b0e9d24fb6 embed: fix blocking Close before gRPC server start
If 'StartEtcd' returns before starting gRPC server
(e.g. mismatch snapshot, misconfiguration),
receiving from grpcServerC blocks forever. This patch
just closes the channel to not block on grpcServerC,
and proceeds to next stop operations in Close.

This was masking the issues in https://github.com/coreos/etcd/issues/7834

Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-05-01 16:41:13 -07:00
..
config.go embed: use '*url.URL.Hostname(),Port()' for Go 1.8 2017-04-18 12:08:59 -07:00
config_test.go embed: use '*url.URL.Hostname(),Port()' for Go 1.8 2017-04-18 12:08:59 -07:00
doc.go embed: Move the ReadyNotify() call to a better place 2016-08-29 22:45:41 -04:00
etcd.go embed: fix blocking Close before gRPC server start 2017-05-01 16:41:13 -07:00
serve.go *: put gateway stubs into their own packages 2017-04-19 13:09:06 -07:00
serve_test.go embed: fix blocking Close before gRPC server start 2017-05-01 16:41:13 -07:00
util.go *: use filepath.Join for files 2017-03-16 07:46:06 -07:00