[Feature] pt-kill add query fingerprint hash to output
Bug #1391240 reported by
Frank Cizmich
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Wishlist
|
Frank Cizmich |
Bug Description
pt-kill should print query fingerprint hash after killing a query. This would enable cross-referencing with pt-query-digest output.
Related branches
lp://staging/~percona-toolkit-dev/percona-toolkit/pt-kill-should-print-query-fingerprint-hash-after-killing-a-query-1391240
- Daniel Nichter: Needs Fixing
-
Diff: 91 lines (+33/-2)2 files modifiedbin/pt-kill (+22/-1)
t/pt-kill/match.t (+11/-1)
Changed in percona-toolkit: | |
status: | New → In Progress |
assignee: | nobody → Frank Cizmich (frank-cizmich) |
importance: | Undecided → Wishlist |
tags: | added: i47034 pt-kill |
Changed in percona-toolkit: | |
milestone: | none → 2.2.13 |
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.
Here's a patch that adds a --fingerprint option. This outputs a checksum after each query kill.
Can be used with --print also.
Sample output:
# 2014-11-11T18:35:40 KILL 133 (Query 2 sec) select sleep(10)
Fingerprint: 0xF9A57DD5A41825CA