Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-2110

Incorrect PTDEBUG output with --ignore-engines option

Details

    • Bug
    • Status: Done
    • Low
    • Resolution: Fixed
    • 3.3.1, 3.4.0
    • 3.5.2
    • pt-table-checksum
    • 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 

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            yokogawa-k Kazuya Yokogawa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist