-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Support SHUTDOWN SQL command (and protocol cmd) #5046
Comments
OK, we will provide a way to shutdown tidb-server gracefully. |
I suggest supporting the MySQL way: a |
It is hard for tidb-server to stop all the cluster instances. |
I think the semantic expected is just for a single instance shutdown. I looked into this the other day, and the logical way seemed to do it was for The signal will then be caught by the main package, and start shutdown (not-withstanding a current issue that garbage collection doesn't like to be interrupted). Thus, |
Both PRs were merged (parser + tidb). |
/cc @SunRunAway ^^ |
Thanks. |
There is no smooth way to stop tidb and must stop the process by kill
The text was updated successfully, but these errors were encountered: