-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
area/operationsRelated to operational aspects of the DB, including signals, flags, env vars, etc.Related to operational aspects of the DB, including signals, flags, env vars, etc.kind/bugSomething is broken.Something is broken.priority/P2Somehow important but would not block a release.Somehow important but would not block a release.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.
Description
What version of Dgraph are you using?
Have you tried reproducing the issue with the latest release?
No
Steps to reproduce the issue (command/config used to run Dgraph).
- Start alpha with
dgraph alphacommand - Press ctrl+c
Expected behaviour and actual result.
I expected the server to shutdown but it doesn't shutdown
The server keeps retrying the GraphQL schema
E0610 19:28:22.269326 3774 run.go:396] GRPC listener canceled: accept tcp [::]:9080: use of closed network connection
E0610 19:28:22.269426 3774 run.go:415] Stopped taking more http(s) requests. Err: accept tcp [::]:8080: use of closed network connection
I0610 19:28:22.269539 3774 run.go:549] tada
I0610 19:28:22.269546 3774 run.go:707] GRPC and HTTP stopped.
I0610 19:28:23.738962 3774 admin.go:652] Error reading GraphQL schema: Dgraph execution failed because Please retry again, server is not ready to accept requests.
I0610 19:28:28.739161 3774 admin.go:652] Error reading GraphQL schema: Dgraph execution failed because Please retry again, server is not ready to accept requests.
I0610 19:28:33.739416 3774 admin.go:652] Error reading GraphQL schema: Dgraph execution failed because Please retry again, server is not ready to accept requests.
diff --git a/dgraph/cmd/alpha/run.go b/dgraph/cmd/alpha/run.go
index 2fb31a4a3..2aedfe3d7 100644
--- a/dgraph/cmd/alpha/run.go
+++ b/dgraph/cmd/alpha/run.go
@@ -546,6 +546,7 @@ func setupServer(closer *y.Closer) {
glog.Infoln("gRPC server started. Listening on port", grpcPort())
glog.Infoln("HTTP server started. Listening on port", httpPort())
wg.Wait()
+ glog.Info("tada")
}
func run() {
The tada was printed before the server completed the shutdown.
Metadata
Metadata
Assignees
Labels
area/operationsRelated to operational aspects of the DB, including signals, flags, env vars, etc.Related to operational aspects of the DB, including signals, flags, env vars, etc.kind/bugSomething is broken.Something is broken.priority/P2Somehow important but would not block a release.Somehow important but would not block a release.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.