From 719da2c4cc988760049ef4eefe04081594763149 Mon Sep 17 00:00:00 2001 From: Vlad Lesin Date: Tue, 15 Dec 2020 16:46:58 +0300 Subject: 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. --- extra/mariabackup/xtrabackup.cc | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.1