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-16 10:23:41 +0300
commit719da2c4cc988760049ef4eefe04081594763149 (patch)
treeca4c4e4fa4c7fba079d235570b1a79ed35f7d6b5
parentaebb1112693ebfa33e8e446668292a6124636ad7 (diff)
downloadmariadb-git-719da2c4cc988760049ef4eefe04081594763149.tar.gz
MDEV-22810 mariabackup does not honor open_files_limit from option during backup prepare
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)