mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
23 lines
817 B
Text
23 lines
817 B
Text
connection node_2;
|
|
connection node_1;
|
|
call mtr.add_suppression("WSREP: Last Applied Action message in non-primary configuration from member .*");
|
|
connection node_1;
|
|
SET GLOBAL wsrep_provider_options = 'pc.ignore_sb=true';
|
|
CREATE TABLE ten (f1 INTEGER);
|
|
INSERT INTO ten VALUES (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);
|
|
CREATE TABLE t1 (f1 VARCHAR(128)) ENGINE=InnoDB;
|
|
connection node_2;
|
|
Killing server ...
|
|
connection node_1;
|
|
INSERT INTO t1 SELECT REPEAT('a', 128) FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5, ten AS a6;
|
|
connection node_2;
|
|
connection node_2a;
|
|
SELECT COUNT(*) = 1000000 FROM t1;
|
|
COUNT(*) = 1000000
|
|
1
|
|
SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
|
|
VARIABLE_VALUE = 2
|
|
1
|
|
connection node_1;
|
|
DROP TABLE t1;
|
|
DROP TABLE ten;
|