[MDEV-26064] mariabackup SST fails when starting the joiner with --innodb-force-recovery=1 Created: 2021-07-01  Updated: 2022-05-21  Resolved: 2021-11-23

Status: Closed
Project: MariaDB Server
Component/s: Galera SST
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6
Fix Version/s: 10.8.0, 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2

Type: Bug Priority: Major
Reporter: Ramesh Sivaraman Assignee: Julius Goryavsky
Resolution: Fixed Votes: 0
Labels: None


 Description   

Galera joiner node SST fails when starting the node with --innodb-force-recovery=1 startup option.

10.6.3 82fe83a34c26b88338f7dae638566f6f3a6e84ac (Optimized)

[00] 2021-07-01 10:01:27 Connecting to MariaDB server host: localhost, user: root, password: not set, port: not set, socket: /test/GAL_MD240621-mariadb-10.6.3-linux-x86_64-opt/node1/node1_socket.sock
[00] 2021-07-01 10:01:27 Using server version 10.6.3-MariaDB
/test/GAL_MD240621-mariadb-10.6.3-linux-x86_64-opt//bin/mariabackup based on MariaDB server 10.6.3-MariaDB Linux (x86_64)
[00] 2021-07-01 10:01:27 uses posix_fadvise().
[00] 2021-07-01 10:01:27 cd to /test/GAL_MD240621-mariadb-10.6.3-linux-x86_64-opt/node1/
[00] 2021-07-01 10:01:27 open files limit requested 0, set to 32194
[00] 2021-07-01 10:01:27 mariabackup: using the following InnoDB configuration:
[00] 2021-07-01 10:01:27 innodb_data_home_dir = 
[00] 2021-07-01 10:01:27 innodb_data_file_path = ibdata1:12M:autoextend
[00] 2021-07-01 10:01:27 innodb_log_group_home_dir = ./
[00] 2021-07-01 10:01:27 InnoDB: Using Linux native AIO
[00] 2021-07-01 10:01:27 mariabackup: The option "innodb_force_recovery" should only be used with "--prepare".
[00] 2021-07-01 10:01:27 mariabackup: innodb_init_param(): Error occurred.



 Comments   
Comment by Jan Lindström (Inactive) [ 2021-11-22 ]

ok to push after you have done 10.4 version (results will be different).

Comment by Julius Goryavsky [ 2021-11-23 ]

Fixed, https://github.com/MariaDB/server/commit/b952599786ed8ee453417eaf5173afa72779e68b

Generated at Thu Feb 08 09:42:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.