[MDEV-20060] Failing assertion: srv_log_file_size <= 512ULL << 30 while preparing backup Created: 2019-07-15 Updated: 2020-08-25 Resolved: 2019-08-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | mariabackup, Storage Engine - InnoDB |
| Affects Version/s: | 10.2.23 |
| Fix Version/s: | 10.2.27, 10.3.18, 10.4.8 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Valerii Kravchuk | Assignee: | Vladislav Lesin |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
When too much redo log is generated during backup:
mariabackup --prepare stage is terminated with the assertion failure:
Note the total redo log size during backup is 736G+:
It seems InnoDB code used by mariabackup is not ready to process logs larger than 512G. |
| Comments |
| Comment by Vladislav Lesin [ 2019-07-16 ] | ||||||||||||||||||||
|
| ||||||||||||||||||||
| Comment by Vladislav Lesin [ 2019-07-31 ] | ||||||||||||||||||||
|
https://github.com/MariaDB/server/tree/bb-10.2-MDEV-13416-big-log | ||||||||||||||||||||
| Comment by Vladislav Lesin [ 2019-08-01 ] | ||||||||||||||||||||
|
I have manually tested the above code on preparing backup with log file size greater then 512G. The following steps were used to test it: 1) Fix mariabackup to copy >512G of log file:
2) Build the server with default options:
3) Init data directory and start the server:
4) Load the server with sysbench oltp_write_only test:
5) Backup, prepare
6) Restart the server on backed up data directory:
There were not errors during "backup --prepare" and server restart. |