[MDEV-24521] Partitioned InnoDB table appears corrupted after restoring full backup Created: 2021-01-04 Updated: 2023-08-16 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | mariabackup, Partitioning |
| Affects Version/s: | 10.3, 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Marko Mäkelä |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
| Description |
|
The original test runs random DML/DDL in a few threads and takes full backups from the server periodically. Then it stops the flow and the server, prepares the backups one by one, each time starting the server on the restored backup and performing data health checks. At some points, an error is revealed:
In the server log, it is the first and only error occurring during the test run. The issue is sporadic in the sense of creating the initial problematic; but once such a backup is created, the failure upon prepare => restart => check is reliably reproducible. Similar failures have been observed in tests on at least 10.2, 10.3 and 10.4. I'm setting affect version to 10.3 and 10.4, because the data provided within this ticket relates to a system-versioned partitioned table, so it's not directly applicable to 10.2. The backups, logs and rr profiles for each start of server and mariabackup are available. For a reference, here is the test I used to produce the data:
|
| Comments |
| Comment by Elena Stepanova [ 2021-01-23 ] | ||||
|
The same or something similar also happens with (at least) non-partitioned system-versioned tables, like this:
For now I'll assume it to be the same problem. | ||||
| Comment by Marko Mäkelä [ 2023-08-16 ] | ||||
|
System-versioned tables do not play together with FULLTEXT INDEX until I am having trouble executing the script against the current 10.4. I did not find any boot.sql and I do not know which directory var should point to. |