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

Add wait_condition after cluster membership change Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
16 lines
460 B
Text
16 lines
460 B
Text
connection node_2;
|
|
connection node_1;
|
|
connection node_1;
|
|
connection node_2;
|
|
connection node_1;
|
|
SET GLOBAL wsrep_provider_options = 'pc.weight=2';
|
|
connection node_2;
|
|
SET SESSION wsrep_sync_wait = 0;
|
|
SET GLOBAL wsrep_provider_options = 'gmcast.isolate = 1';
|
|
connection node_1;
|
|
connection node_2;
|
|
SHOW STATUS LIKE 'wsrep_cluster_status';
|
|
Variable_name Value
|
|
wsrep_cluster_status non-Primary
|
|
connection node_1;
|
|
SET GLOBAL wsrep_provider_options = 'pc.weight = 1';
|