XtraBackup handles separate doublewrite buffer file incorrectly

Bug #1068470 reported by Sergei Glushchenko on 2012-10-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup
High
Sergei Glushchenko
2.0
High
Sergei Glushchenko
2.1
High
Sergei Glushchenko

Bug Description

During backup xtrabackup copies doublewrite buffer file from the path specified in my.cnf to the root backup directory. Then during prepare doublewrite buffer file is not specified in backup-my.cnf, and not used. When copy back is done old doublewrite buffer file copied to root data directory, which could cause failures on server startup.

Following are incorrect:
1. Path to doublewrite buffer file is not specified in backup-my.cnf
2. Prepare should use doublewrite buffer file from root of backup dir
3. Copy back should not copy doublewrite buffer file as it is not needed after prepare is done.

In the case of run with our test framework we have even worst behavior. Instead of looking at backup-my.cnf prepare look at original my.cnf (--defaults-file is specified) and modify original doublewrite buffer file.

Related branches

lp:~sergei.glushchenko/percona-xtrabackup/BT-26901-2.0
Merged into lp:percona-xtrabackup/2.0 at revision 480
Alexey Kopytov: Approve on 2012-11-15
Laurynas Biveinis: Pending requested 2012-11-15
lp:~sergei.glushchenko/percona-xtrabackup/BT-26901-2.1
Merged into lp:percona-xtrabackup/2.1 at revision 454
Alexey Kopytov: Approve on 2012-11-15
Laurynas Biveinis: Pending requested 2012-11-15
Laurynas Biveinis: Needs Fixing on 2012-10-18
Changed in percona-xtrabackup:
status: New → Confirmed
assignee: nobody → Sergei Glushchenko (sergei.glushchenko)
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers