lp:~laurynas-biveinis/percona-xtrabackup/bug1098498-1132763-2.0

Created by Laurynas Biveinis on 2013-02-25 and last modified on 2013-03-07
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-xtrabackup/bug1098498-1132763-2.0
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Recent revisions

505. By Laurynas Biveinis on 2013-03-07

Fix bug 1098498 (Sporadic xb_incremental_compressed_* failures in
Jenkins) and bug 1132763 (No need to shutdown servers cleanly before
wiping their datadirs in the testsuite).

Most tests shutdown the server cleanly before copying back the
restored datadir. These shutdowns:
1) may timeout sporadically (bug 1098498);
2) are not required in the first place (bug 1132763), because the
server data is about to be wiped, thus kill -9 would work just as
fine.

Fixed by replacing stop_server() implementation to do kill -9 instead
of a clean shutdown. Add a new function shutdown_server() that is
similar to the old stop_server() implementation. Adjust the testcases:
1) ib_part_*: wipe the server dir, restore not only test database, but
all of the databases. For the testcases that work by selecting a list
of tables to backup, make sure to include all of mysql and
performance_schema tables.
2) bug766033: replace the database corruption of poking one zero byte
to the first page with overwriting the start of the second page with
0xAAAAAAAA to reduce the risk of the previous corruption attempt not
corrupting anything due to the zero byte already existing at the
location.
3) bug766607: rewrite the testcase to use innobackupex instead of
xtrabackup so that it works with the wiped server data dir.
4) xb_incremental: remove the testcase as it becomes identical to
ib_incremental atfer the changes to support wiped server data dir.
5) xb_partial: likewise, becomes identical to ib_part_*.
6) xb_export: use shutdown_server instead of kill_server for syncing
with the end of a tablespace import.

Also remove an unused function stop_all_servers() in common.sh and fix
a typo in testrun.sh.

504. By Alexey Kopytov on 2013-03-04

Merge 2.0.5 release branch.

503. By Laurynas Biveinis on 2013-03-03

Fix bug 1142229 (latest merge breaks compiling against mysql-5.1).

The problem is that -fpermissive needs to be defined for 5.0 and
5.1-builtin build configurations. This was done for the build types
"innodb51_builtin" and "innodb50", but not for their synonyms "5.0"
and "5.1".

Fixed by resolving the fully-synonymous build types to their canonical
names.

502. By Alexey Kopytov on 2013-03-02

Merge trunk.

501. By Alexey Kopytov on 2013-02-04

Bug #1114955: xtrabackup_pid remains existed after execution

Fix a regression introduced by the fix for bug #1055989: in case the
xtrabackup process has finished copying the log file and terminated
before wait_for_ibbackup_finish() is called, remove the stale
xtrabackup_pid file.

500. By <email address hidden> on 2013-01-22

Merge lp:~hrvojem/percona-xtrabackup/bug1100008-2.0

499. By Stewart Smith on 2013-01-17

merge 1.6.6 release branch

498. By <email address hidden> on 2013-01-17

Merge lp:~hrvojem/percona-xtrabackup/rn-2.0.5

497. By <email address hidden> on 2013-01-15

Merge lp:~gl-az/percona-xtrabackup/2.0-bug740489

496. By <email address hidden> on 2013-01-14

Merge lp:~sergei.glushchenko/percona-xtrabackup/xb20-bug1095551

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-xtrabackup/2.1
This branch contains Public information 
Everyone can see this information.