| 1 |
connection node_2; |
| 2 |
connection node_1; |
| 3 |
connection node_1; |
| 4 |
connection node_2; |
| 5 |
connection node_1; |
| 6 |
SET @wsrep_cluster_address_orig = @@GLOBAL.wsrep_cluster_address; |
| 7 |
SET @wsrep_provider_options_orig = @@GLOBAL.wsrep_provider_options; |
| 8 |
SET GLOBAL wsrep_provider_options ='pc.ignore_sb=true'; |
| 9 |
connection node_2; |
| 10 |
Killing server ... |
| 11 |
connection node_1; |
| 12 |
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB; |
| 13 |
INSERT INTO t1 VALUES (1); |
| 14 |
DROP TABLE t1; |
| 15 |
SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size'; |
| 16 |
VARIABLE_VALUE = 1 |
| 17 |
1 |
| 18 |
SELECT VARIABLE_VALUE = 'ON' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready'; |
| 19 |
VARIABLE_VALUE = 'ON' |
| 20 |
1 |
| 21 |
SET GLOBAL wsrep_cluster_address = ''; |
| 22 |
SET GLOBAL wsrep_cluster_address = @wsrep_cluster_address_orig; |
| 23 |
connection node_2; |
| 24 |
connection node_1; |
| 25 |
SET GLOBAL wsrep_provider_options = @wsrep_provider_options_orig; |
| 26 |
disconnect node_2; |
| 27 |
disconnect node_1; |