pt-kill doesn't reconnect if its connection is lost
Bug #941469 reported by
Steve McTeague
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
High
|
Daniel Nichter |
Bug Description
Percona Toolkit v.2.0.3
Mysql: mysqld Ver 5.0.92-
When pt-kill is daemonized and then viewing its log, find this error message:
Error getting SHOW PROCESSLIST: DBD::mysql::st execute failed: MySQL server has gone away [for Statement "SHOW FULL PROCESSLIST"] at /usr/bin/pt-kill line 3633.
Thank you
Related branches
lp:~percona-toolkit-dev/percona-toolkit/pt-kill-reconnect-bug-941469
- Daniel Nichter: Approve
-
Diff: 612 lines (+402/-33)7 files modifiedbin/pt-kill (+317/-23)
lib/Cxn.pm (+5/-1)
t/pt-kill/basics.t (+30/-4)
t/pt-kill/execute_command.t (+4/-3)
t/pt-kill/kill.t (+1/-1)
t/pt-kill/standard_options.t (+1/-1)
util/kill-mysql-process (+44/-0)
tags: | added: pt-kill |
tags: | added: error-recovery |
Changed in percona-toolkit: | |
status: | New → Triaged |
summary: |
- pt-kill: error getting processlist; mysql server gone away + pt-kill doesn't reconnect if its connection is lost |
tags: | added: percona-23049 |
Changed in percona-toolkit: | |
milestone: | none → 2.1.3 |
status: | Triaged → Confirmed |
importance: | Undecided → High |
Changed in percona-toolkit: | |
status: | Confirmed → In Progress |
assignee: | nobody → Daniel Nichter (daniel-nichter) |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Realize now that running two concurrent pt-kill scripts could be causing this issue.