PXB 56 in galera mode should backup last binlog file
Bug #1250375 reported by
Raghavendra D Prabhu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
High
|
George Ormond Lorch III | ||
2.1 |
Fix Released
|
High
|
George Ormond Lorch III | ||
2.2 |
Fix Released
|
High
|
George Ormond Lorch III |
Bug Description
As discussed in https:/
a) After it gets uuid and seqno under FTWRL, it needs to do
'flush binary logs' and then add the last binlog (after flush) to
the stream.
b) This is required only if binlog and gtid are enabled on that
host.
c) The binlog name prefix (ie. XXXX in XXXX.index) can be
provided through command-line (through an option) if required since that is readily
available to SST script.
=======
This is required for Xtrabackup SST in 5.6 to support gtid (without gtid it works fine).
Related branches
lp:~gl-az/percona-xtrabackup/bug1250375-2.1
- Alexey Kopytov (community): Approve
-
Diff: 75 lines (+60/-0)2 files modifiedinnobackupex.pl (+22/-0)
test/t/bug1250375.sh (+38/-0)
lp:~gl-az/percona-xtrabackup/bug1250375-2.2
- Alexey Kopytov (community): Approve
-
Diff: 75 lines (+60/-0)2 files modifiedstorage/innobase/xtrabackup/innobackupex.pl (+22/-0)
storage/innobase/xtrabackup/test/t/bug1250375.sh (+38/-0)
tags: | added: pxc |
To post a comment you must log in.
Raghu, Alexey...I have been asked to get this taken care of and have a questions or two:
1-Is this is only necessary to do within innobackupex: :write_ galera_ info if the detected server version is PXC/PS 5.6, or is it harmless to just do it regardless of server version as long as --galera_info is specified?
2-Would it be acceptable so simply issue 'FLUSH BINARY LOGS; SHOW MASTER STATUS' to capture the current binlog filename necessary to backup instead of using any extra command line options?
Thanks