Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
server: close connection when tidb server closed. #8446
What problem does this PR solve?
If tidb is not gracefully shutdown, tidb should kill connection to avoid continue processing the connection request. Because after
What is changed and how it works?
Kill all connection when server close if server is not gracefully shutdown.
Through I'm afraid the problem can't be solved by those changes: