Dgraph Alpha does not shutdown when signaled to when it has not yet joined a cluster #4035
Labels
area/operations
Related to operational aspects of the DB, including signals, flags, env vars, etc.
kind/bug
Something is broken.
priority/P3
Low priority, something to be done once everything else seems fixed.
status/accepted
We accept to investigate/work on it.
What version of Dgraph are you using?
v1.1.0
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, OS)?
N/A
Steps to reproduce the issue (command/config used to run Dgraph).
Run Dgraph Alpha with no Zero running.
Press Ctrl-C (SIGINT) or send a SIGTERM to the Alpha process. The Alpha will show these logs, closing the gRPC and HTTP ports:
The Alpha process stays idle indefinitely.
Expected behaviour and actual result.
Dgraph Alpha should shut down properly even if it hasn't yet been assigned to a group.
The actual result is that the Alpha process continues running unless it is forcibly shutdown with three Ctrl-C's or forcibly killed by SIGKILL.
This is a low priority issue. Fixing this would be a small operational enhancement.
The text was updated successfully, but these errors were encountered: