pt-align omits lines if not all columns are present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Triaged
|
Undecided
|
Unassigned |
Bug Description
If not all input lines have the same # of columns, pt-align omits some. This makes the tool unusable with output from other tools like pt-table-checksum:
localhost ~ $ pt-table-checksum --no-check-
TABLE CHUNK CNT_DIFF CRC_DIFF CHUNK_INDEX LOWER_BOUNDARY UPPER_BOUNDARY
schema1.entities 1 0 1 PRIMARY 2 115990
schema1.
schema1.
localhost ~ $ pt-table-checksum --no-check-
Differences on data2.bookdownl
TABLE CHUNK CNT_DIFF CRC_DIFF CHUNK_INDEX LOWER_BOUNDARY UPPER_BOUNDARY
cacti.host 1 0 1
cacti.poller_time 1 0 1
cacti.settings 1 0 1
schema1.entities 1 0 1 PRIMARY 2 115990
schema1.
schema1.
I think this should be fixed so that either:
- for all input lines, there is an output line, or
- a warning is printed that some lines were omitted
tags: | added: pt-align |
Changed in percona-toolkit: | |
status: | New → Triaged |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PT-1119