| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3; |
| 4 |
call mtr.add_suppression("\\[ERROR\\] Error reading packet from server: WSREP has not yet prepared node for application use "); |
| 5 |
call mtr.add_suppression("WSREP has not yet prepared node for application use"); |
| 6 |
connection node_1; |
| 7 |
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB; |
| 8 |
SET GLOBAL wsrep_provider_options='gmcast.isolate=1'; |
| 9 |
SET SESSION wsrep_on = OFF; |
| 10 |
SET SESSION wsrep_on = ON; |
| 11 |
SET global wsrep_sync_wait=0; |
| 12 |
connection node_3; |
| 13 |
SELECT @@wsrep_on; |
| 14 |
@@wsrep_on |
| 15 |
0 |
| 16 |
call mtr.add_suppression("Error reading packet from server: WSREP has not yet prepared node for application use \\(server_errno ?= ?1047\\)"); |
| 17 |
START SLAVE; |
| 18 |
include/wait_for_slave_param.inc [Slave_IO_Running] |
| 19 |
connection node_1; |
| 20 |
SET GLOBAL wsrep_provider_options='gmcast.isolate=0'; |
| 21 |
connection node_3; |
| 22 |
include/wait_for_slave_to_start.inc |
| 23 |
connection node_1; |
| 24 |
INSERT INTO t1 VALUES (1); |
| 25 |
connection node_3; |
| 26 |
connection node_1; |
| 27 |
DROP TABLE t1; |
| 28 |
SET global wsrep_sync_wait=15; |
| 29 |
connection node_3; |
| 30 |
STOP SLAVE; |
| 31 |
RESET SLAVE ALL; |
| 32 |
CALL mtr.add_suppression('failed registering on master'); |