| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
call mtr.add_suppression("WSREP: gcs/src/gcs_core\\.cpp:core_handle_uuid_msg\\(\\)"); |
| 4 |
connection node_1; |
| 5 |
connection node_2; |
| 6 |
connection node_3; |
| 7 |
connection node_1; |
| 8 |
CREATE TABLE t1 (f1 INTEGER); |
| 9 |
SET SESSION wsrep_sync_wait=0; |
| 10 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1'; |
| 11 |
connection node_2; |
| 12 |
SET SESSION wsrep_sync_wait=0; |
| 13 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1'; |
| 14 |
connection node_3; |
| 15 |
SET SESSION wsrep_sync_wait=0; |
| 16 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1'; |
| 17 |
connection node_2; |
| 18 |
SET GLOBAL wsrep_provider_options = 'pc.bootstrap=1'; |
| 19 |
SHOW STATUS LIKE 'wsrep_cluster_size'; |
| 20 |
Variable_name Value |
| 21 |
wsrep_cluster_size 1 |
| 22 |
SHOW STATUS LIKE 'wsrep_cluster_status'; |
| 23 |
Variable_name Value |
| 24 |
wsrep_cluster_status Primary |
| 25 |
INSERT INTO t1 VALUES (1); |
| 26 |
connection node_2; |
| 27 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0'; |
| 28 |
connection node_1; |
| 29 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0'; |
| 30 |
connection node_3; |
| 31 |
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0'; |
| 32 |
connection node_1; |
| 33 |
SELECT COUNT(*) FROM t1; |
| 34 |
COUNT(*) |
| 35 |
1 |
| 36 |
connection node_2; |
| 37 |
SELECT COUNT(*) FROM t1; |
| 38 |
COUNT(*) |
| 39 |
1 |
| 40 |
connection node_3; |
| 41 |
SELECT COUNT(*) FROM t1; |
| 42 |
COUNT(*) |
| 43 |
1 |
| 44 |
DROP TABLE t1; |