mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
The use of the xtrabackup and xtrabackup-v2 methods for SST has been declared obsolete since version 10.2, now it cannot be used because of the different redo log format. Accordingly, we need to remove the xtrabackup-related scripts and dynamically replace the call to xtrabackup[-v2] to the mariabackup (with a corresponding warning in the log) when the server performs SST. https://jira.mariadb.org/browse/MDEV-17835
49 lines
1.5 KiB
Text
49 lines
1.5 KiB
Text
connection node_1;
|
|
connection node_2;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT) ENGINE=InnoDB;
|
|
CREATE PROCEDURE p1 ()
|
|
BEGIN
|
|
DECLARE x INT DEFAULT 1;
|
|
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
|
|
WHILE 1 DO
|
|
INSERT INTO t1 VALUES (DEFAULT);
|
|
COMMIT;
|
|
END WHILE;
|
|
END|
|
|
CALL p1();;
|
|
connection node_2;
|
|
CALL p1();;
|
|
connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2;
|
|
connection node_2a;
|
|
Killing server ...
|
|
INSERT INTO t1 VALUES (DEFAULT);
|
|
connect node_1a, 127.0.0.1, root, , test, $NODE_MYPORT_1;
|
|
connection node_1a;
|
|
INSERT INTO t1 VALUES (DEFAULT);
|
|
connection node_1;
|
|
Got one of the listed errors
|
|
connection node_2;
|
|
Got one of the listed errors
|
|
connection node_1a;
|
|
connection node_2a;
|
|
count_equal
|
|
1
|
|
CALL mtr.add_suppression("WSREP: Action message in non-primary configuration from member 0");
|
|
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
|
VARIABLE_VALUE
|
|
2
|
|
SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
|
VARIABLE_VALUE = 2
|
|
1
|
|
connection node_1a;
|
|
SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
|
VARIABLE_VALUE
|
|
2
|
|
SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
|
VARIABLE_VALUE = 2
|
|
1
|
|
DROP PROCEDURE p1;
|
|
DROP TABLE t1;
|
|
CALL mtr.add_suppression("gcs_caused\\(\\) returned -1 \\(Operation not permitted\\)");
|
|
CALL mtr.add_suppression("WSREP: Action message in non-primary configuration from member 0");
|