Galera should pass --defaults-group-suffix to xtrabackup

Bug #1378354 reported by Philip Stoev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MySQL patches by Codership
New
Undecided
Unassigned

Bug Description

If the my.cnf file uses sections with different suffixes, like it is under MTR, xtrabackup SST will fail because xtrabackup will not be able to find the name of the datadir and assume the datadir is . , which is not the case.

To fix this, Galera should pass the value of @@defaults-group-suffix to the xtrabackup --defaults-group= parameter.

Note however that defaults-group-suffix is a single integer whereas xtrabackup --defaults-group expects the entire string "mysqld.1"

xtrabackup --defaults-file="/home/philips/git/codership-mysql/mysql-test/var/my.cnf" --defaults-group=mysqld.1 --backup --suspend-at-end --target-dir=/tmp/tmp.Em4XWrKmVU

Until this is fixed, it is not possible to test xtrabackup SST under MTR. There is no known workaround.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.