When client tries to terminate a query, the generated KILL command uses a truncated processlist id and fails to kill the statement
Bug #1641246 reported by
Peiran Song
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
version: 5.6.28-76.1-log Percona Server (GPL)
processlist is BIGINT.
To repeat the bug:
thread 1:
mysql>select sleep(5);
thread 2:
mysql> show processlist;
| 52597315592 | root | 74.217.
thread 1:
^CCtrl-C -- sending "KILL QUERY 1057708040" to server ...
Note, the thread id is 52597315592, however the Ctrl-C generated a kill command with truncated id 1057708040. Thus the client is unable to early terminate a query except manually get the processlist id.
affects: | percona-xtrabackup → percona-server |
Changed in percona-server: | |
status: | Incomplete → New |
no longer affects: | mysql-server |
To post a comment you must log in.
Hi Peiran,
You mean to say mysql cli sends kill with process ID truncated to 32 bits ? Can you please provide exact version of client libraries & mysql cli and check if the client host is 32 bit. /bugs.mysql. com/bug. php?id= 44167 could be related.
This upstream https:/