-
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
Can't use pt-kill to kill TiDB connections #27932
Comments
/type compatibility |
/assign |
I'm careless about this issue ,I may need some time to learn about parse rules ,so let me unassign first, I will finish it later if no one does during this time. |
/assign |
@wangggong ,hey bro.Are you still working on this issue.I've finished and I want to PR. If you are almost done ,I will choose another issue. |
If you have finished I just unassign it. Sorry for didn't finish it... |
Thanks 'old' brother !!! |
|
Bug Report
Can't use pt-kill from percona-toolkit to kill TiDB connections.
Because it uses a
kill '1'
syntax, but tidb only supportskill 1
.1. Minimal reproduce step (Required)
Run a tidb locally, and run
select sleep(50);
in a connection.Then run
pt-kill --kill --user=root --match-command=Query --host=127.0.0.1 --port=4000 -v
.2. What did you expect to see? (Required)
Successfully kill the
sleep(50)
connection.3. What did you see instead (Required)
In pt-kill's output:
In tidb's output:
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: