[MDEV-30026] incremental backup creates broken files if there is a high load during backup Created: 2022-11-17 Updated: 2023-10-02 Resolved: 2023-10-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Backup |
| Affects Version/s: | 10.6.11 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Timofey Turenko | Assignee: | Timofey Turenko |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Description |
|
test scenario: 1. create 1M file (e.g file1M.bin), file can contain zeros or random data VALUES (LOAD_FILE('/tmp/file1M.bin'))` 3. in another thread: create table (e.g `CREATE TABLE table1 (i INT, s VARCHAR(1024))`) and put some number of rows into it (in my test 10000) make a first part of backup: 4. create another table, put data into it, make a next part of the backup: 5. repeat step 4 several times 6. try to prepare backup for restore:
Result:
attached backup.tar.gz - files created by mariadb-backup The error looks similar to |
| Comments |
| Comment by Marko Mäkelä [ 2022-11-19 ] |
|
Is this simply because the backup process cannot keep up with the server? That is, would it work if you configured the server with a much larger innodb_log_file_size? |
| Comment by Timofey Turenko [ 2022-11-24 ] |
|
`innodb_log_file_size=1073741824` does not help |
| Comment by Timofey Turenko [ 2023-10-02 ] |
|
after detailed re-testing: under load backup can be extremely slow and it can cause ssh connection disconnection (ssh between test machine and mariadb-backup/server machine) now test is changed, it can survive very big delays. Closing this issue. |