mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
27 lines
773 B
Text
27 lines
773 B
Text
|
CREATE TABLE t1 (f1 INTEGER);
|
||
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
|
||
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
|
||
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=1';
|
||
|
SET SESSION wsrep_sync_wait = 0;
|
||
|
SET GLOBAL wsrep_provider_options = 'pc.bootstrap=1';
|
||
|
SHOW STATUS LIKE 'wsrep_cluster_size';
|
||
|
Variable_name Value
|
||
|
wsrep_cluster_size 1
|
||
|
SHOW STATUS LIKE 'wsrep_cluster_status';
|
||
|
Variable_name Value
|
||
|
wsrep_cluster_status Primary
|
||
|
INSERT INTO t1 VALUES (1);
|
||
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0';
|
||
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0';
|
||
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate=0';
|
||
|
SELECT COUNT(*) FROM t1;
|
||
|
COUNT(*)
|
||
|
1
|
||
|
SELECT COUNT(*) FROM t1;
|
||
|
COUNT(*)
|
||
|
1
|
||
|
SELECT COUNT(*) FROM t1;
|
||
|
COUNT(*)
|
||
|
1
|
||
|
DROP TABLE t1;
|