Uploaded image for project: 'Percona XtraBackup'
  1. Percona XtraBackup
  2. PXB-415

LP #1394632: "FLUSH ENGINE LOGS" bring inconsistency into GTID-enabled slave

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      **Reported in Launchpad by Denis Zhdanov last update 24-07-2015 15:07:08

      When I backup Percona Server 5.6.21 on slave with percona-xtrabackup 2.2.5, I find that innobackupex executes the command
      'FLUSH ENGINE LOGS'
      this command will be record to slave binlogwhich leads to inconsistency between master and slave when GTID enabled.

      Suggested fix:
      Replace the line :
      mysql_query(%mysql, "FLUSH ENGINE LOGS");
      with
      mysql_query(%mysql, "FLUSH NO_WRITE_TO_BINLOG ENGINE LOGS");

      I have test it, and it doesn't record "FLUSH ENGINE LOGS" to slave binlog.

      (Based on http://www.percona.com/forums/questions-discussions/percona-xtrabackup/24993-percona-xtrabackup-2-2-4-innobackup-update, but I hit same bug recently)

        Smart Checklist

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: