mirror of
https://github.com/MariaDB/server.git
synced 2025-02-23 05:43:08 +01:00

Grep is not safe as it will confuse if there is more than one matching line or if progress report is slightly different as progress reporting is afected by how fast IST is send/received. Fix is to use sed and we are interested only that there is at least one progress report from IST.
29 lines
777 B
Text
29 lines
777 B
Text
connection node_2;
|
|
connection node_1;
|
|
connection node_2;
|
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate = 1';
|
|
connection node_1;
|
|
connection node_2;
|
|
SET SESSION wsrep_on = OFF;
|
|
SET SESSION wsrep_on = ON;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INTEGER NOT NULL PRIMARY KEY) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES (1);
|
|
INSERT INTO t1 VALUES (2);
|
|
INSERT INTO t1 VALUES (3);
|
|
INSERT INTO t1 VALUES (4);
|
|
INSERT INTO t1 VALUES (5);
|
|
INSERT INTO t1 VALUES (6);
|
|
INSERT INTO t1 VALUES (7);
|
|
INSERT INTO t1 VALUES (8);
|
|
INSERT INTO t1 VALUES (9);
|
|
INSERT INTO t1 VALUES (10);
|
|
connection node_2;
|
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate = 0';
|
|
connection node_1;
|
|
connection node_2;
|
|
connection node_1;
|
|
"Trying to find IST progress reporting"
|
|
found
|
|
connection node_1;
|
|
DROP TABLE t1;
|