@@ -1237,7 +1237,7 @@ static void backup_file_op_fail(uint32_t space_id, int type,
12371237 msg (" DDL tracking : create %" PRIu32 " \" %.*s\" " ,
12381238 space_id, int (len), name);
12391239 fail = !check_if_skip_table (spacename.c_str ());
1240- if (!opt_no_lock && fail &&
1240+ if (fail && !opt_no_lock &&
12411241 check_if_fts_table (spacename.c_str ())) {
12421242 /* Ignore the FTS internal table because InnoDB does
12431243 create intermediate table and their associative FTS
@@ -1264,6 +1264,11 @@ static void backup_file_op_fail(uint32_t space_id, int type,
12641264 break ;
12651265 case FILE_DELETE:
12661266 fail = !check_if_skip_table (spacename.c_str ())
1267+ /* Ignore the FTS internal table because InnoDB may
1268+ drop intermediate table and their associative FTS
1269+ internal table as a part of inplace rollback operation.
1270+ backup_set_alter_copy_lock() downgrades the
1271+ MDL_BACKUP_DDL before inplace phase of alter */
12671272 && !check_if_fts_table (spacename.c_str ());
12681273 msg (" DDL tracking : delete %" PRIu32 " \" %.*s\" " ,
12691274 space_id, int (len), name);
@@ -5877,6 +5882,8 @@ void CorruptedPages::backup_fix_ddl(ds_ctxt *ds_data, ds_ctxt *ds_meta)
58775882 node, 0 , dest_name.c_str (),
58785883 wf_write_through, *this );
58795884 }
5885+
5886+ DBUG_MARIABACKUP_EVENT (" after_backup_fix_ddl" , {});
58805887}
58815888
58825889
0 commit comments