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

LP #1070916: pt-mysql-summary may report the wrong cnf file

Details

    Description

      **Reported in Launchpad by Daniel Nichter last update 16-11-2012 00:08:54

      Finally digging into this failure:

      1. Failed '"/tmp/12347/my.sandbox.cnf" == "/tmp/12345/my.sandbox.cnf"'
      2. /tmp/percona-toolkit.test/collect_mysql_info/mysqld-instances:
      3. PID TTY STAT TIME COMMAND
      4. 1427 ? Sl 0:13 /home/jenkins/mysql-bin/mysql-5.5.24-i386-barebones/bin/mysqld --defaults-file=/tmp/12347/my.sandbox.cnf
      5. 20928 ? Sl 0:07 /home/jenkins/mysql-bin/mysql-5.5.24-i386-barebones/bin/mysqld --defaults-file=/tmp/12345/my.sandbox.cnf
      6. 29930 ? Sl 0:00 /home/jenkins/mysql-bin/mysql-5.5.24-i386-barebones/bin/mysqld --defaults-file=/tmp/12346/my.sandbox.cnf

      mysql_collect_info.find_my_cnf_file() doesn't actually work correctly. It seems to always return what's at the top of the ps output.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lpjirasync lpjirasync (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist