xtrabackup --slave-info does not handle multi-master replication
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.4 |
Fix Released
|
Wishlist
|
Vasily Nemkov |
Bug Description
When running Percona Xtrabackup 2.4.1, the option --slave-info does not include channel name.
And as far as I can understand when reviewing the code, multiple channels will not work correctly...
# xtrabackup --version
xtrabackup version 2.4.1 based on MySQL server 5.7.10 Linux (x86_64) (revision id: a2dc9d4)
# mysql -e "select @@version
+------------+
| @@version |
+------------+
| 5.7.11-log |
+------------+
# mysql -e "show slave status\G"
*******
Replicate
Replicate_
Master_
Replicate_
Slave_
Last_
Last_
# cat xtrabackup_
CHANGE MASTER TO MASTER_
Looking at storage/
An alternative solution whould be to get configured channel names from mysql.slave_
Thank you for the bug report