Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
10.4(EOL)
-
None
Description
Note: This report is about non-debug 10.4 build. 10.4 debug fails with MDEV-18589 instead, and 10.5 non-debug fails with MDEV-22913.
10.4 non-debug 49ac606a |
2020-06-17 1:55:47 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
|
2020-06-17 1:55:47 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=516541629
|
|
<cut: 11685 lines Ignoring data file '...' with space ID 140296, since the redo log references test/t1.ibd with space ID ...>
|
|
2020-06-17 1:55:48 0 [Note] InnoDB: Starting a batch to recover 3973 pages from redo log.
|
2020-06-17 1:55:49 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
|
[00] FATAL ERROR: 2020-06-17 01:55:49 mariabackup: innodb_init() returned 11 (Generic error).
|
To reproduce (same test as in MDEV-22913):
To reproduce:
git clone https://github.com/MariaDB/randgen --branch mdev22913 rqg-mdev22913
|
rqg-mdev22913
|
perl ./runall-trials.pl --basedir=<basedir> --trials=10 --skip-gendata --duration=150 --threads=4 --scenario=MariaBackupIncremental --grammar=mdev22913.yy --vardir=/dev/shm/var_mdev22918 --output="returned 11"
|
Remember to set the basedir on the command line.
For reproducing, use a 10.4 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;
|
The command line above runs the test 10 times, until it fails with "returned 11" output. It may take a while, because it can fail with different problems, particularly MDEV-18589 (the non-debug variation "innodb_init() returned 39 (Data structure corruption)").
Other versions/builds fail with different problems, see MDEV-22913 for more details.
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-22913 Error: xtrabackup_apply_delta() upon preparing incremental backup
-
- Closed
-
I suspect that this bug is a duplicate of
MDEV-18589, like I confirmed the 10.5 versionMDEV-22913of this to be.Alas, I failed to reproduce this bug even after reverting the
MDEV-18589fix.10.4 289105e282fb5f7865bb7ddb6226149ac5bdf2b8
# 2022-09-14T13:22:44 [530307] Backup #3 finished successfully
# 2022-09-14T13:22:44 [530307] #-------------------------#
# 2022-09-14T13:22:44 [530307] #-- Stopping the server --#
# 2022-09-14T13:22:44 [530307] #-------------------------#
# 2022-09-14T13:22:44 [530307] Stopping server on port 19300
# 2022-09-14T13:22:44 [530388][ERROR] Executor::MySQL::execute: Failed to reconnect after getting STATUS_SERVER_CRASHED
# 2022-09-14T13:22:44 [530388] Executor::MySQL::execute: Query: CREATE /* QNO 26556 CON_ID 12 */ OR REPLACE TABLE t1 (b BIT) ENGINE=InnoDB ROW_FORMAT COMPRESSED failed: 2013 Lost connection to server during query (STATUS_SERVER_CRASHED)
…
# 2022-09-14T13:22:56 [530307] Stopping server on port 19300
# 2022-09-14T13:22:58 [530307] Server has been stopped
# 2022-09-14T13:22:58 [530307] [530307] /mariadb/rqg-mdev22913/runall-new.pl will exit with exit status STATUS_OK (0)
# 2022-09-14T13:22:58 [527891] Trial 10 ended with exit status STATUS_OK (0)
# 2022-09-14T13:22:58 [527891] Output did not match the pattern 'returned 11', result will be ignored
# 2022-09-14T13:22:58 [527891] ./runall-trials.pl will exit with exit status FAILED TO REPRODUCE (0)
I did not find a core dump or even server error log output for the crash. I did not notice any message about --prepare failure in the log.
I will next try the test with the
MDEV-18589fix.