"FLUSH ENGINE LOGS" bring inconsistency into GTID-enabled slave
Bug #1394632 reported by
Denis Zhdanov
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
Alexey Kopytov | ||
2.1 |
Fix Released
|
High
|
Alexey Kopytov | ||
2.2 |
Fix Released
|
High
|
Alexey Kopytov | ||
2.3 |
Fix Released
|
High
|
Alexey Kopytov |
Bug Description
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 binlog,which leads to inconsistency between master and slave when GTID enabled.
Suggested fix:
Replace the line :
mysql_query(
with
mysql_query(
I have test it, and it doesn't record "FLUSH ENGINE LOGS" to slave binlog.
(Based on http://
Related branches
lp:~akopytov/percona-xtrabackup/bug1394632-2.1
- Alexey Kopytov (community): Approve
-
Diff: 15 lines (+3/-2)1 file modifiedinnobackupex.pl (+3/-2)
lp:~akopytov/percona-xtrabackup/bug1394632-2.2
- Alexey Kopytov (community): Approve
-
Diff: 15 lines (+3/-2)1 file modifiedstorage/innobase/xtrabackup/innobackupex.pl (+3/-2)
lp:~akopytov/percona-xtrabackup/bug1394632-2.3
- Alexey Kopytov (community): Approve
-
Diff: 15 lines (+3/-2)1 file modifiedstorage/innobase/xtrabackup/innobackupex.pl (+3/-2)
To post a comment you must log in.
Thank you for the bug report. This has also been reported as bug #1384140, but it didn't occur to us that the inconsistency is in the binary log coordinates, rather than data. I have marked that bug as a duplicate of this one.