Details
-
Bug
-
Status: Done
-
Low
-
Resolution: Fixed
-
3.3.1, 3.4.0
-
None
-
Yes
-
Yes
-
0.5
Description
There is a wrong output message when using the --ignore-engines option with PTDEBUG enabled.
Originally, it should be output:
Engine innodb is in --ignore-engines list
Incorrectly output:
Engine innodb is in --ignore-databases list
Bellow is an example of actual command execution
pt-table-checksum
bash-5.0# PTDEBUG=1 pt-table-checksum --host master --user root --ignore-engines innodb --databases mysql --tables user --no-check-binlog-format 2>&1 | grep -- "--ignore-databases list"
# SchemaIterator:7977 95 Engine innodb is in --ignore-databases list
pt-duplicate-key-checker
bash-5.0# PTDEBUG=1 pt-duplicate-key-checker --host master --user root --ignore-engines innodb --databases mysql --tables user 2>&1 | grep -- "--ignore-databases list" # SchemaIterator:3651 104 Engine innodb is in --ignore-databases list
pt-table-sync
bash-5.0# PTDEBUG=1 pt-table-sync --dry-run --ignore-engines innodb --databases mysql --tables user --sync-to-master h=slave,u=root 2>&1 | grep -- ' --ignore-databases list'
# SchemaIterator:8077 162 Engine innodb is in --ignore-databases list