~percona-core/percona-xtrabackup/2.0

  • Committer: Alexey Kopytov
  • Date: 2013-04-22 10:58:30 UTC
  • Revision ID: akopytov@gmail.com-20130422105830-9xguy1eijf62ckfa
Implementation of
https://blueprints.launchpad.net/percona-xtrabackup/+spec/support-separate-undo-tablespace

In order to backup separate undo tablespaces they must be added in the
fil_system list of tablespaces on the backup stage. This is implemented
in srv_undo_tablespaces_init(), which needs some modifications for
XtraBackup. First, create_new_db is always FALSE in XtraBackup. We also
need another argument to check if we can read the number of currently
used undo tablespaces from the trx header. We can't do that on the
backup stage, so we just do what srv_undo_tablespaces_init() would do in
'create_new_db == TRUE' mode, i.e. just assume the number of available
undo tablespaces is the number of used tablespaces.

We also have to restore undo tablespaces on --copy-back (unlike
e.g. separate doublewrite tablespace in PS). The reasons are that:

1) the server would refuse to start if the number of available undo
tablespaces is less than the number of configured ones.

2) we can prepare the backup with --redo-only (i.e. let the server
rollback uncommitted transactions)

There were also some tweaks to the test suite required to create a test
case. Previously my.cnf was only used by xtrabackup, but not the server
itself (one had to pass arguments to start_server and then add the same
arguments to my.cnf for xtrabackup to "see" them). Now my.cnf is used by
both server and xtrabackup, and it is possible to add custom entries to
my.cnf using the MYSQLD_EXTRA_MY_CNF_OPTS variable.

This patch also fixes bug #1169971: "Lost InnoDB messages in
xtrabackup_56".
Filename Latest Rev Last Changed Committer Comment Size
..
bug1002688.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 1.8 KB Diff Download File
bug1007446.sh 487.2.1 11 years ago George O. Lorch III Fixed https://bugs.launchpad.net/percona-xtrabacku 442 bytes Diff Download File
bug1022562.sh 448.1.2 11 years ago Laurynas Biveinis Fix bug 1022562 (Inc backup fails if a tablespace 2.1 KB Diff Download File
bug1028949.sh 448.2.2 11 years ago Laurynas Biveinis Fix bug 1028949 (Assertion error in creating a com 2.5 KB Diff Download File
bug1037379.sh 471.1.1 11 years ago Alexey Kopytov Bug #1037379: SQL_THREAD left in stopped state of 2.3 KB Diff Download File
bug1038127.sh 463.2.1 11 years ago Sergei Glushchenko Bug #1038127: XtraBackup 2.0.2 is not backwards co 1.1 KB Diff Download File
bug1062684.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 3.1 KB Diff Download File
bug1085099.sh 504.4.1 11 years ago Alexey Kopytov Bug #1085099: innobackupex does not pass --tmpdir 584 bytes Diff Download File
bug1112224.sh 500.3.1 11 years ago Sergei Glushchenko Bug #1112224 Missing space_id from *.ibd.meta Lead 1.1 KB Diff Download File
bug1130627.sh 504.6.1 11 years ago Alexey Kopytov Bug #1130627: Can't backup individual partitions 1.9 KB Diff Download File
bug483827.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 941 bytes Diff Download File
bug489290.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 557 bytes Diff Download File
bug514068.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 806 bytes Diff Download File
bug528752.sh 471.4.1 11 years ago Laurynas Biveinis Fix bug 528752 (xtrabackup does not handle innodb= 183 bytes Diff Download File
bug606981.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 907 bytes Diff Download File
bug664986.sh 502.1.1 11 years ago Alexey Kopytov Bug #664986: directory premission and backup failu 1.8 KB Diff Download File
bug722638.sh 242.55.3 12 years ago Alexey Kopytov BP replicatiin-support-in-test-suite Added initia 2.8 KB Diff Download File
bug723097.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 848 bytes Diff Download File
bug723318.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 466 bytes Diff Download File
bug729843.sh 242.55.3 12 years ago Alexey Kopytov BP replicatiin-support-in-test-suite Added initia 672 bytes Diff Download File
bug733651.sh 242.55.3 12 years ago Alexey Kopytov BP replicatiin-support-in-test-suite Added initia 872 bytes Diff Download File
bug740489.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 1.3 KB Diff Download File
bug759225.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 1.2 KB Diff Download File
bug759701.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 1.8 KB Diff Download File
bug766033.sh 504.7.1 11 years ago Laurynas Biveinis Fix bug 1098498 (Sporadic xb_incremental_compresse 676 bytes Diff Download File
bug766607.sh 504.7.1 11 years ago Laurynas Biveinis Fix bug 1098498 (Sporadic xb_incremental_compresse 1.1 KB Diff Download File
bug803636.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 715 bytes Diff Download File
bug810269.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 1.8 KB Diff Download File
bug817132.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 1.2 KB Diff Download File
bug870119.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 609 bytes Diff Download File
bug884737.sh 242.55.3 12 years ago Alexey Kopytov BP replicatiin-support-in-test-suite Added initia 454 bytes Diff Download File
bug891496.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 1 KB Diff Download File
bug930062.sh 504.3.1 11 years ago Alexey Kopytov Bug #930062: Innobackupex doesn't add file-per-tab 1.5 KB Diff Download File
bug932623.sh 446.3.1 11 years ago Sergei Glushchenko Bug #932623: RENAME TABLE causes incremental prepa 2 KB Diff Download File
bug950334.sh 502.2.1 11 years ago Alexey Kopytov Bug #950334: disk space grows by >500% while prepa 795 bytes Diff Download File
bug972169.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 453 bytes Diff Download File
bug976945.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 921 bytes Diff Download File
bug977101.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 1 KB Diff Download File
bug977652.sh 440 11 years ago Alexey Kopytov Bug #977652: Compressed/Uncompressed incremental b 752 bytes Diff Download File
bug983685.sh 477.1.2 11 years ago Stewart Smith empty merge from 1.6 of fix for Bug #996493: innob 680 bytes Diff Download File
bug983695.sh 441 11 years ago Alexey Kopytov Bug #983695: --copy-back should ignore *.qp files 614 bytes Diff Download File
bug983720_galerainfo.sh 476.1.1 11 years ago Stewart Smith fix up t/bug983720_galerainfo.sh to pass base_port 1.1 KB Diff Download File
bug983720_lrudump.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 830 bytes Diff Download File
bug989397.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 664 bytes Diff Download File
bug996493.sh 482 11 years ago Stewart Smith null merge fix of test/t/bug996493.sh test case (w 1010 bytes Diff Download File
bug999750.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 706 bytes Diff Download File
ib_binlog_info.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 403 bytes Diff Download File
ib_compress_basic.sh 490.3.1 11 years ago Alexey Kopytov Bug #1095249: Built-in compression does inefficien 790 bytes Diff Download File
ib_csm_csv.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 1.4 KB Diff Download File
ib_doublewrite.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 3.4 KB Diff Download File
ib_empty_dir.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 823 bytes Diff Download File
ib_incremental.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 2.8 KB Diff Download File
ib_lru_dump_basic.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 904 bytes Diff Download File
ib_lru_dump_rsync.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 829 bytes Diff Download File
ib_lru_dump_stream.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 759 bytes Diff Download File
ib_part_databases.sh 504.7.1 11 years ago Laurynas Biveinis Fix bug 1098498 (Sporadic xb_incremental_compresse 1 KB Diff Download File
ib_part_include.sh 504.7.1 11 years ago Laurynas Biveinis Fix bug 1098498 (Sporadic xb_incremental_compresse 1.2 KB Diff Download File
ib_part_include_stream.sh 504.7.1 11 years ago Laurynas Biveinis Fix bug 1098498 (Sporadic xb_incremental_compresse 1.1 KB Diff Download File
ib_part_tf_innodb.sh 504.7.1 11 years ago Laurynas Biveinis Fix bug 1098498 (Sporadic xb_incremental_compresse 1.3 KB Diff Download File
ib_part_tf_innodb_stream.sh 504.7.1 11 years ago Laurynas Biveinis Fix bug 1098498 (Sporadic xb_incremental_compresse 1.2 KB Diff Download File
ib_part_tf_myisam.sh 504.7.1 11 years ago Laurynas Biveinis Fix bug 1098498 (Sporadic xb_incremental_compresse 1 KB Diff Download File
ib_rsync.sh 242.55.3 12 years ago Alexey Kopytov BP replicatiin-support-in-test-suite Added initia 491 bytes Diff Download File
ib_rsync_nolock.sh 500.2.1 11 years ago Sergei Glushchenko Bug 1123335 innobackupex fails when --no-lock and 501 bytes Diff Download File
ib_slave_info.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 998 bytes Diff Download File
ib_specialchar.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 1.1 KB Diff Download File
ib_stream_compress.sh 385.1.1 12 years ago Alexey Kopytov Rebase of the parallel compression patch on new tr 580 bytes Diff Download File
ib_stream_incremental.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 2.9 KB Diff Download File
ib_stream_parallel.sh 385.1.1 12 years ago Alexey Kopytov Rebase of the parallel compression patch on new tr 337 bytes Diff Download File
ib_stream_tar.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 268 bytes Diff Download File
ib_stream_xbstream.sh 385.1.1 12 years ago Alexey Kopytov Rebase of the parallel compression patch on new tr 281 bytes Diff Download File
tar4ibd_symlink.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 1.4 KB Diff Download File
undo_tablespaces.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 1.8 KB Diff Download File
xb_basic.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 705 bytes Diff Download File
xb_defaults_file.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 715 bytes Diff Download File
xb_export.sh 513 11 years ago Alexey Kopytov Merged lp:~laurynas-biveinis/percona-xtrabackup/bu 3.2 KB Diff Download File
xb_galera_info.sh 470 11 years ago Stewart Smith fix path to libgalera_smm.so in galera test cases 1 KB Diff Download File
xb_incremental_compressed.inc 473.1.1 11 years ago Stewart Smith Introduce parallel test runner for Percona XtraBac 5 KB Diff Download File
xb_incremental_compressed_16kb.sh 473.1.1 11 years ago Stewart Smith Introduce parallel test runner for Percona XtraBac 70 bytes Diff Download File
xb_incremental_compressed_1kb.sh 473.1.1 11 years ago Stewart Smith Introduce parallel test runner for Percona XtraBac 69 bytes Diff Download File
xb_incremental_compressed_2kb.sh 473.1.1 11 years ago Stewart Smith Introduce parallel test runner for Percona XtraBac 69 bytes Diff Download File
xb_incremental_compressed_4kb.sh 473.1.1 11 years ago Stewart Smith Introduce parallel test runner for Percona XtraBac 69 bytes Diff Download File
xb_incremental_compressed_8kb.sh 473.1.1 11 years ago Stewart Smith Introduce parallel test runner for Percona XtraBac 69 bytes Diff Download File
xb_log_overwrap.sh 490.4.1 11 years ago Alexey Kopytov Bug #1097158: xb_log_overwrap fails sporadically i 1.2 KB Diff Download File
xb_parallel.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 797 bytes Diff Download File
xb_parallel_incremental.sh 436 12 years ago Alexey Kopytov Manual merge of the replication support in test su 1.6 KB Diff Download File
xb_part_range.sh 447 11 years ago Stewart Smith merge stewart's test suite cleanup 2.6 KB Diff Download File
xb_perm_basic.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 285 bytes Diff Download File
xb_perm_stream.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 345 bytes Diff Download File
xb_stats.sh 471.2.3 11 years ago Ignacio Nin Changes in debian packaging for placating lintian 915 bytes Diff Download File
xb_version.sh 533 11 years ago Alexey Kopytov Implementation of https://blueprints.launchpad.net 38 bytes Diff Download File