MDEV-25666: After backup, "Could not find a valid tablespace file"

Ever since MDEV-18518 made DDL operations mostly crash-safe inside InnoDB,
it became obvious that Mariabackup might not be entirely safe with regard to
concurrent DDL operations.

check_if_skip_table(): Do not skip files whose name starts with #sql.
We cannot know whether a DDL operation is in progress and the table
might in fact be needed later.
This commit is contained in:
Marko Mäkelä 2021-05-14 08:36:14 +03:00
parent 7750cda148
commit 1c5ae99194

View File

@ -2618,10 +2618,6 @@ check_if_skip_table(
tbname = ptr + 1;
}
if (strncmp(tbname, tmp_file_prefix, tmp_file_prefix_length) == 0) {
return TRUE;
}
if (regex_exclude_list.empty() &&
regex_include_list.empty() &&
!tables_include_hash.array &&