[MDEV-13825] mariabackup --lock-ddl-per-table does not properly lock FULLTEXT auxiliary tables Created: 2017-09-17 Updated: 2023-12-08 Resolved: 2018-01-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup |
| Affects Version/s: | 10.2.9 |
| Fix Version/s: | 10.2.13, 10.3.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Marko Mäkelä | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Sprint: | 10.0.34 | ||||||||||||||||||||
| Description |
|
The mariabackup option --lock-ddl-per-tables does not cover the tables that InnoDB internally creates for FULLTEXT INDEX.
Because the internally created tables do not exist in the server data dictionary, the attempt to acquire MDL will fail:
Furthermore, the internal tables are not protected by MDL inside InnoDB. The proper course of action would be to acquire MDL on the user table that is associated with the internal table. This is possible, because the internal table name includes the table_id of the user table. |