Pt-config-diff --report-width variable names column

Bug #1521275 reported by brad svee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Invalid
Undecided
Unassigned

Bug Description

using the pt-config-diff tool and increasing the --report-width option, it will not widen the variable name column, therefore long variable names are always truncated

pt-config-diff --report-width=400 ./m.cnf ./p.cnf
10 config differences
Variable ./m.cnf ./p.cnf
============================ =========================== ====================================
performance_schema_events... 10000 -1
performance_schema_events... 10 -1
performance_schema_max_co... 1000 -1
performance_schema_max_fi... 10000 -1
performance_schema_max_mu... 1000000 -1
performance_schema_max_rw... 30 40
performance_schema_max_rw... 1000000 -1
performance_schema_max_ta... 100000 -1
performance_schema_max_ta... 50000 -1
performance_schema_max_th... 1000 -1

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

It is happening but I think, you have to give some big value.

nilnandan@desktop:/etc/mysql$ sudo pt-config-diff --report-width=6000 /etc/mysql/my.cnf /etc/mysql/mynil.cnf
4 config differences
Variable /etc/mysql/my.cnf /etc/mysql/mynil.cnf
============================================================ ============================ =============================
log_bin /var/lib/mysql/mysql-bin.log /var/lib/mysql/mysql-bin.log1
max_allowed_packet 16777216 23068672
performance_schema_max_prepared_statements_instances 2 1
thread_cache_size 8 16
nilnandan@desktop:/etc/mysql$

Changed in percona-toolkit:
status: New → Incomplete
status: Incomplete → Invalid
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-1317

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.