pt-query-digest 2.2 prints too many string values
Bug #1160918 reported by
Daniel Nichter
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Brian Fraser |
Bug Description
In pt-query-digest 2.2 we removed and automatically enabled the option that used to cut string value lines to 80 chars by default. Now 2.2 displays all string values for a given metric, however this has an unintended consequence:
# InnoDB trxID 7D8A9A2F (1/0%), 7D8A9A81 (1/0%), 7D8AD7BD (1/0%), 7D8AE696 (1/0%) ...
That line is _very_ long because there were a lot of unique InnoDB trxID values.
Related branches
lp://staging/~percona-toolkit-dev/percona-toolkit/fix-1160918-restore-show-all
- Daniel Nichter: Approve
-
Diff: 323 lines (+63/-20)10 files modifiedbin/pt-query-digest (+43/-11)
lib/QueryReportFormatter.pm (+12/-1)
t/lib/samples/QueryReportFormatter/report012.txt (+1/-1)
t/lib/samples/QueryReportFormatter/report013.txt (+1/-1)
t/lib/samples/QueryReportFormatter/report014.txt (+1/-1)
t/lib/samples/QueryReportFormatter/report015.txt (+1/-1)
t/pt-query-digest/samples/slow042-show-all-host.txt (+1/-1)
t/pt-query-digest/samples/slow053.txt (+1/-1)
t/pt-query-digest/samples/slow054.txt (+1/-1)
t/pt-query-digest/samples/tcpdump033.txt (+1/-1)
Changed in percona-toolkit: | |
assignee: | nobody → Brian Fraser (fraserbn) |
Changed in percona-toolkit: | |
status: | Confirmed → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PT-607