Commit 1c5ae991 authored by Marko Mäkelä's avatar Marko Mäkelä

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.
parent 7750cda1
...@@ -2618,10 +2618,6 @@ check_if_skip_table( ...@@ -2618,10 +2618,6 @@ check_if_skip_table(
tbname = ptr + 1; tbname = ptr + 1;
} }
if (strncmp(tbname, tmp_file_prefix, tmp_file_prefix_length) == 0) {
return TRUE;
}
if (regex_exclude_list.empty() && if (regex_exclude_list.empty() &&
regex_include_list.empty() && regex_include_list.empty() &&
!tables_include_hash.array && !tables_include_hash.array &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment