Skip to content
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

Exit tidb-server directly when all connections not in txn #44951

Closed
Defined2014 opened this issue Jun 26, 2023 · 0 comments · Fixed by #44953
Closed

Exit tidb-server directly when all connections not in txn #44951

Defined2014 opened this issue Jun 26, 2023 · 0 comments · Fixed by #44953
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@Defined2014
Copy link
Contributor

Defined2014 commented Jun 26, 2023

Enhancement

After #32111, user need to wait for all connections to be disconnected, or execute a new sql before tidb-server exit.

For example

  1. start a tidb-server
  2. use mysql client connect it
  3. ctrl+c tidb-server. It will not exit direclty until timeout
@Defined2014 Defined2014 added the type/enhancement The issue or PR belongs to an enhancement. label Jun 26, 2023
@Defined2014 Defined2014 self-assigned this Jun 26, 2023
@Defined2014 Defined2014 changed the title Exit directly when conn not in txn Exit tidb-server directly when conn not in txn Jun 26, 2023
@Defined2014 Defined2014 changed the title Exit tidb-server directly when conn not in txn Exit tidb-server directly when all connections not in txn Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant