Details
Description
The bug is caused by 82d5994520c239da1b6edf1b24e08138ae0c753d(MDEV-26110), as field_ref_zero is initialized only for xtrabackup_backup_func(), but not for xtrabackup_prepare_func().
The bug can be repeated with the following change to an existing test:
diff --git a/mysql-test/suite/mariabackup/incremental_backup.test b/mysql-test/suite/mariabackup/incremental_backup.test
|
index 88e277fd95a..eb3f769f9a2 100644
|
--- a/mysql-test/suite/mariabackup/incremental_backup.test
|
+++ b/mysql-test/suite/mariabackup/incremental_backup.test
|
@@ -1,5 +1,5 @@
|
--source include/have_aria.inc
|
---source include/innodb_page_size.inc
|
+--source include/innodb_page_size_small.inc
|
|
# see suite.pm "check for exact values, in case the default changes to be small everywhere"
|
if (`select @@max_binlog_stmt_cache_size = 4294963200 and @@innodb_page_size = 65536`) {
|
@@ -12,7 +12,7 @@ let basedir=$MYSQLTEST_VARDIR/tmp/backup;
|
let incremental_dir=$MYSQLTEST_VARDIR/tmp/backup_inc1;
|
|
CREATE TABLE t_aria(i INT) ENGINE ARIA;
|
-CREATE TABLE t(i INT PRIMARY KEY) ENGINE INNODB;
|
+CREATE TABLE t(i INT PRIMARY KEY) ENGINE INNODB ROW_FORMAT=COMPRESSED;
|
BEGIN;
|
INSERT INTO t VALUES(2);
|
connect (con1,localhost,root,,);
|
The suggested fix is to move field_ref_zero allocation/deallocation from xtrabackup_backup_func() to it's caller main_low().
Attachments
Issue Links
- causes
-
MDEV-28832 infinite loop in mariabackup if log LOG_HEADER_FORMAT field is 0
- Closed
- is caused by
-
MDEV-26110 mtr failure innodb.innodb_scrub (assertion) aix RelWithDebug build
- Closed
- relates to
-
MDEV-23515 Mariabackup --prepare crashed [ERROR] mysqld got signal 11 ;
- Closed
-
MDEV-22913 Error: xtrabackup_apply_delta() upon preparing incremental backup
- Closed
-
MDEV-26983 Server crash in buf_is_zeroes or assertion failure in xb_delta_open_matching_space upon incremental backup prepare with compressed partitioned table
- Closed