summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Lesin <vlad_lesin@mail.ru>2020-12-15 16:46:58 +0300
committerVlad Lesin <vlad_lesin@mail.ru>2020-12-15 16:46:58 +0300
commit7c798ffddcea328f0429b219b8201cab0d81b30a (patch)
treed473ee78700d309551643d0a560b0cdbd83db81b
parent066212d16cc2b3995e2c53de9e2f799fdab557bd (diff)
downloadmariadb-git-bb-10.2-MDEV-22810-open_files_limit.tar.gz
MDEV-22810 mariabackup does not honor open_files_limit from option during backup preparebb-10.2-MDEV-22810-open_files_limit
open_files_limit option was processed only for --backup, but not for --prepare.
-rw-r--r--extra/mariabackup/xtrabackup.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc
index 241d7aeb198..53301fd8e75 100644
--- a/extra/mariabackup/xtrabackup.cc
+++ b/extra/mariabackup/xtrabackup.cc
@@ -5811,6 +5811,10 @@ static bool xtrabackup_prepare_func(char** argv)
ut_ad(inc_dir_tables_hash);
}
+ msg("open files limit requested %u, set to %u",
+ (uint) xb_open_files_limit,
+ xb_set_max_open_files(xb_open_files_limit));
+
/* Fix DDL for prepare. Process .del,.ren, and .new files.
The order in which files are processed, is important
(see MDEV-18185, MDEV-18201)