lp:~percona-dev/percona-xtrabackup/xb_datadir

Created by Valentine Gostev on 2011-02-21 and last modified on 2011-02-21
Get this branch:
bzr branch lp:~percona-dev/percona-xtrabackup/xb_datadir
Members of Percona developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

224. By Valentine Gostev on 2011-02-21

Added test for bug 368945

222. By Vadim Tkachenko on 2011-02-12

Disabled auto-creating of ib_logfile* when
innobackupex called with --redo-only or with --incremental-dir.

If neccessary ib_logfile* can be created later
with xtrabackup --prepare call.

221. By Alexey Kopytov on 2011-02-12

LP bug #717784: Race condition in directory creation with parallel
                backups

Trying to check if directory exists before calling mkdir() is not safe
with multiple copying threads.

The fix is to try to create a directory without any checks instead and
then ignore the EEXIST error.

220. By Vadim Tkachenko on 2011-02-12

Bugfix #680936

Added option --extra-lsndir to innobackupex.
When specified for backup phase, option is passed to xtrabackup,
and it will store file with lsn information in specified dir.
It is needed to keep information about lsn during stream backup.

219. By Vadim Tkachenko on 2011-02-12

Added option --incremental-lsn to innobackupex script.
This option if specified directly passed to xtrabackup script.

If --incremental-lsn is specified, --incremental-basedir is ignored

218. By Vadim Tkachenko on 2011-02-12

Added option --incremental-dir to innobackupex script
This option is directly passed to xtrabackup binary

217. By Vadim Tkachenko on 2011-02-12

Bugfix #597384

--include option for innobackup handles non-InnoDB tables

216. By Vadim Tkachenko on 2011-02-12

Bugfix #701767

Script innobackupex-1.5.1 renamed to innobackupex.
Created symlink innobackupex-1.5.1 for backupward compatibility

215. By Alexey Kopytov on 2011-02-06

Fix for LP bug #713799: race condition when trying to open an already
                        removed tablespace

Dropping a table during a backup process could result in assertion
failure in xtrabackup.

xtrabackup iterates a data dictionary snapshot taken at the very start
of a backup process when looking for files to copy. Since some tables
may be dropped while backup is in progress, there is a possibility for
some .ibd files to be removed by the time xtrabackup will try to copy
them.

The actual crash occurred as a result of the following chain of calls:
fil_space_get_zip_size() -> fil_space_get_flags() ->
fil_node_prepare_for_io() -> fil_node_open_file() which
eventually led to an assertion failure in fil_node_open_file() when it
was trying to open a nonexistent .ibd.

Fixed by changing fil_node_prepare_for_io() and fil_node_open_file() so
that in case of the 'file not found' error, the error is signaled to
the caller instead of generating an assertion failure.

xtrabackup.c also had to be fixed to actually skip nonexistent file with
a warning message rather than terminate the entire backup process with a
fatal error.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.