Skip to content

Commit

Permalink
mariabackup - do not extend innodb tablespaces in prepare, unless
Browse files Browse the repository at this point in the history
incremental prepare is running.
  • Loading branch information
vaintroub authored and vuvova committed Apr 27, 2017
1 parent ecb25df commit e8bc838
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extra/mariabackup/xtrabackup.cc
Expand Up @@ -6546,6 +6546,8 @@ xtrabackup_prepare_func(int argc, char ** argv)
if(innodb_init())
goto error_cleanup;

if (xtrabackup_incremental) {

it = datafiles_iter_new(fil_system);
if (it == NULL) {
msg("xtrabackup: Error: datafiles_iter_new() failed.\n");
Expand Down Expand Up @@ -6588,6 +6590,8 @@ xtrabackup_prepare_func(int argc, char ** argv)

datafiles_iter_free(it);

} /* if (xtrabackup_incremental) */

if (xtrabackup_export) {
msg("xtrabackup: export option is specified.\n");
os_file_t info_file = XB_FILE_UNDEFINED;
Expand Down

0 comments on commit e8bc838

Please sign in to comment.