Merge lp:~sergei.glushchenko/percona-xtrabackup/2.1-ST43302-xb-bug1340717 into lp:percona-xtrabackup/2.1
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 760 |
Proposed branch: | lp:~sergei.glushchenko/percona-xtrabackup/2.1-ST43302-xb-bug1340717 |
Merge into: | lp:percona-xtrabackup/2.1 |
Diff against target: |
425 lines (+81/-43) 2 files modified
patches/innodb56.patch (+46/-43) test/t/bug1340717.sh (+35/-0) |
To merge this branch: | bzr merge lp:~sergei.glushchenko/percona-xtrabackup/2.1-ST43302-xb-bug1340717 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+227022@code.launchpad.net |
Description of the change
Bug 1340717: Crash on prepare partial backup with 5.6-based
xtrabackup
The root cause of the crash is that purge_sys is not initialized
at the moment when xtrabackup trying to delete missing tablespace.
Fix for upstream Bug#16593427 "ROLLBACK OF RECOVERED TRANSACTION
CORRUPTS NON-ONLINE ADD INDEX" introduced function
trx_
initialized. It loads some tablepsaces in data dictionary. Crash
happens when tablespace is missing from partial backup.
Fix is not to remove missing tablespaces from data dictionary
until purge_sys is initialized. They will be eventually removed
during subsequent operation.
http:// jenkins. percona. com/view/ PXB%202. 1/job/percona- xtrabackup- 2.1-param/ 584/
lots of Jenkins failures are due to migration. hopefully Alexey will fix it and I re-run it.