Merge lp:~akopytov/percona-xtrabackup/bug1169169-2.1 into lp:percona-xtrabackup/2.1
Status: | Merged |
---|---|
Approved by: | Laurynas Biveinis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 568 |
Proposed branch: | lp:~akopytov/percona-xtrabackup/bug1169169-2.1 |
Merge into: | lp:percona-xtrabackup/2.1 |
Prerequisite: | lp:~akopytov/percona-xtrabackup/support-separate-undo-tablespaces-2.1 |
Diff against target: |
86 lines (+55/-6) (has conflicts) 2 files modified
patches/innodb56.patch (+50/-1) test/inc/ib_part.sh (+5/-5) Text conflict in innobackupex Text conflict in patches/innodb56.patch Text conflict in src/xtrabackup.cc Text conflict in test/inc/common.sh Text conflict in test/t/bug977101.sh Text conflict in test/t/ib_doublewrite.sh Text conflict in test/t/xb_basic.sh |
To merge this branch: | bzr merge lp:~akopytov/percona-xtrabackup/bug1169169-2.1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Review via email: mp+160273@code.launchpad.net |
Description of the change
Bug #1169169: xtrabackup_56 crashes when preparing a backup with
The problem was that xtrabackup_56 used the implementation of
innobase_
lightweight replacement provided in xtrabackup.cc for other build
flavors. The full-blown implementation may call explain_filename() which
requires MySQL localization subsystem to be initialized (which is
normally initialized in init_common_
particular, it crashed when explain_filename() was called on a
partitioned table.
Since xtrabackup_56 links with ha_innodb.cc containing the full-blown
implementation of innobase_
replicating the lightweight version used by xtrabackup/
innodb56.patch.
An alternative approach would be to mimic localization subsystem
initialization performed in mysqld.cc, but that pulls way too many
dependencies.
This revision also fixes bug #1170340 "require_
test/
bug #1169169 have not been caught by the test suite).
http:// jenkins. percona. com/view/ XtraBackup/ job/percona- xtrabackup- 2.1-param/ 266/
The ib_part* failures on *56 configurations is a result of missing remote tablespaces support (will be fixed in followup dependent MPs).