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:
parent
7750cda148
commit
1c5ae99194
@ -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 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user