Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.5
-
None
Description
This report is about a non-debug 10.5 build. Debug builds fail with an assertion failure from MDEV-18589. However, according to MDEV-18589, on non-debug builds it didn't have the failure described here, so I'm not sure it's the same problem.
10.5 e290e5a7 |
[00] 2020-06-16 15:12:21 page size for /dev/shm/var_xbackup_apply/backup_2//ibdata1.delta is 16384 bytes
|
[00] 2020-06-16 15:12:21 Applying /dev/shm/var_xbackup_apply/backup_2//ibdata1.delta to ./ibdata1...
|
[00] 2020-06-16 15:12:21 page size for /dev/shm/var_xbackup_apply/backup_2//test/alt_t1.ibd.delta is 8192 bytes
|
[00] 2020-06-16 15:12:21 Can't create file ./test/alt_t1.ibd
|
[00] 2020-06-16 15:12:21 error: can't open ./test/alt_t1.ibd
|
[00] 2020-06-16 15:12:21 Error: xtrabackup_apply_delta(): failed to apply /dev/shm/var_xbackup_apply/backup_2//test/alt_t1.ibd.delta to ./test/alt_t1.ibd.
|
To reproduce:
git clone https://github.com/MariaDB/randgen --branch mdev22913 rqg-mdev22913
|
rqg-mdev22913
|
perl ./runall-trials.pl --basedir=<basedir> --trials=5 --skip-gendata --duration=150 --threads=4 --scenario=MariaBackupIncremental --grammar=mdev22913.yy --vardir=/dev/shm/var_mdev22913
|
Remember to set the basedir on the command line.
For reproducing, use a 10.5 non-debug build.
The grammar in the test above only contains single query:
query:
|
CREATE OR REPLACE TABLE { 't'.$prng->int(1,9) } (b BIT) ENGINE=InnoDB ROW_FORMAT COMPRESSED;
|
It currently fails every time for me, but there is always room for non-determinism.
The command line above runs the test 5 times, until it fails (in any way). Given the number of problems with incremental backup (or even any backup), it can occasionally fail with a different problem than the one described here. If you want to ignore all other ones and only focus on this one, run with the extra option
--output="Error: xtrabackup_apply_delta"
|
Then it will ignore other errors and automatically continue running the configured 5 trials until it hits this exact failure.
Logs are attached.
In the community server, this failure was only observed on 10.5 non-debug.
10.4 and 10.5 debug and sometimes 10.4 non-debug fail with MDEV-18589 instead.
10.4 non-debug also fails non-deterministically with
2020-06-16 20:13:22 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
|
[00] FATAL ERROR: 2020-06-16 20:13:23 mariabackup: innodb_init() returned 11 (Generic error).
|
(to be filed separately).
10.2 non-debug fails non-deterministically with MDEV-18550.
10.3 non-debug fails non-deterministically with
[00] FATAL ERROR: 2020-06-16 20:03:57 xtrabackup_copy_logfile() failed.
|
Attachments
Issue Links
- duplicates
-
MDEV-18589 Assertion `fil_space_t::physical_size(flags) == info.page_size' failed in xb_delta_open_matching_space upon prepare on the incremental backup
- Closed
- relates to
-
MDEV-18550 InnoDB: Failing assertion: success during mariabackup --backup ...
- Open
-
MDEV-18589 Assertion `fil_space_t::physical_size(flags) == info.page_size' failed in xb_delta_open_matching_space upon prepare on the incremental backup
- Closed
-
MDEV-28473 field_ref_zero is not initialized in xtrabackup_prepare_func()
- Closed
-
MDEV-22918 innodb_init() returned 11 (Generic error) upon incremental backup
- Closed