-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic: Drain() is not implemented #1384
Comments
There are a number of features that are not supported or available when serving via The implementation for The right way to do what you want is to perform a graceful stop on the http server (using We may look into better support for the HTTP server handler model, possibly by hijacking the In terms of what to do with |
Fixes: etcd-io#8916 Provided solution implements suggestion from gRPC team: grpc/grpc-go#1384 (comment)
Fixes: etcd-io#8916 Provided solution implements suggestion from gRPC team: grpc/grpc-go#1384 (comment)
Fixes etcd-io#8916 Provided solution (attempts to) implements suggestion from gRPC team: grpc/grpc-go#1384 (comment)
Avoid panic on shut down gRPC Server when TLS configuration is present. Provided solution (attempts to) implements suggestion from gRPC team: grpc/grpc-go#1384 (comment). Fixes etcd-io#8916
Avoid panic when stopping gRPC Server if TLS configuration is present. Provided solution (attempts to) implement suggestion from gRPC team: grpc/grpc-go#1384 (comment). Fixes etcd-io#8916
Avoid panic when stopping gRPC Server if TLS configuration is present. Provided solution (attempts to) implement suggestion from gRPC team: grpc/grpc-go#1384 (comment). Fixes etcd-io#8916
Avoid panic when stopping gRPC Server if TLS configuration is present. Provided solution (attempts to) implement suggestion from gRPC team: grpc/grpc-go#1384 (comment). Fixes etcd-io#8916
Please answer these questions before submitting your issue.
What version of gRPC are you using?
v1.4.2
What version of Go are you using (
go version
)?v1.8.3
What operating system (Linux, Windows, …) and version?
Linux 4.11.9
What did you do?
etcd shuts down grpc by issuing a graceful stop, then a stop() if streams are holding it open via:
What did you expect to see?
No panic.
What did you see instead?
/cc @gyuho
The text was updated successfully, but these errors were encountered: