[MDEV-29109] mariabackup --rsync option broken since 10.3 Created: 2022-07-15 Updated: 2022-11-01 Resolved: 2022-11-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup, mariabackup |
| Affects Version/s: | 10.3, 10.4, 10.5, 10.6, 10.7, 10.8 |
| Fix Version/s: | 10.3.36, 10.4.26, 10.5.17, 10.6.9, 10.7.5, 10.8.4, 10.9.2, 10.10.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Hartmut Holzgraefe | Assignee: | Julius Goryavsky |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | regression | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
When running mariabackup with the --rsync option backups fail starting with MariaDB 10.3 with: rsync: link_stat "/var/lib/mysql/var/lib/mysql/ib_buffer_pool" failed: No such file or directory (2) Note how the datadir part in the path is duplicated. More complete output:
PS: I also wonder what this option is good for anyway? The documentation says:
which does not make sense to me as there is nothing for rsync to optimize if the target directory is empty anyways, as is required by mariabackup? So rsync would just fall back to a regular cp? |
| Comments |
| Comment by Elena Stepanova [ 2022-07-20 ] | |||||
|
The failure appeared in 10.2 after this commit:
| |||||
| Comment by Hartmut Holzgraefe [ 2022-10-31 ] | |||||
|
Seems to have been fixed meanwhile, can still reproduce it with e.g. 10.5.16, but could not anymore with latest 10.3, 10.5 and 10.10 | |||||
| Comment by Julius Goryavsky [ 2022-11-01 ] | |||||
|
Fixed by |