Report a Dgraph Bug
What version of Dgraph are you using?
Have you tried reproducing the issue with the latest release?
What is the hardware spec (RAM, OS)?
Steps to reproduce the issue (command/config used to run Dgraph).
- Run a 6-node cluster.
- Stop the cluster (send a SIGTERM to all processes)
- See that the Alphas are stuck in the “Terminating” state for 10 minutes.
Commands to reproduce on Kubernetes locally:
- Run a local cluster via kind
- Install Dgraph via Helm:
helm repo add dgraph https://charts.dgraph.io helm install my-dgraph-release dgraph/dgraph
Then, after the cluster has started properly, delete the release to stop the cluster:
helm delete my-dgraph-release
Expected behaviour and actual result.
Dgraph should terminate after it has shut down cleanly. The logs show the following:
Stopping raftwal store... Stopping worker server...
And then it is stuck running until Kubernetes forcibly kills the instance.