[MDEV-25995] Double entries are seen while streaming a backup with Mariabackup Created: 2021-06-23 Updated: 2022-03-02 Resolved: 2022-01-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | mariabackup |
| Affects Version/s: | 10.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Nilnandan Joshi | Assignee: | Rob Schwyzer |
| Resolution: | Incomplete | Votes: | 1 |
| Labels: | None | ||
| Description |
|
While restoring backup, observed below error
While checking mariabackup log, found that there are two entries for streaming the same file. frm and ibd files for the sys_table were streaming twice. Also, table was in the process of rename during the same time.
This is not reproducible. Is this a bug? or expected behavior? |
| Comments |
| Comment by Sergei Golubchik [ 2021-08-30 ] |
|
You seem to be using --no-lock option. In this case the documentation clearly says that it's your responsibility to ensure there will be no concurrent DDLs. And this in particular case it seems there were concurrent renames. This broke the backup, as expected. |