mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
c409dd42ef
Cluster communication should be possible even when: 1. Node 2 is TCP 2. Node 1/3 is dynamic with SSL enabled During test we shutdown Node 2 and enable SSL on it. It should connect back to cluster successfully.
24 lines
533 B
Text
24 lines
533 B
Text
connection node_2;
|
|
connection node_1;
|
|
connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3;
|
|
connection node_1;
|
|
connection node_2;
|
|
connection node_3;
|
|
connection node_1;
|
|
CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) Engine=InnoDB;
|
|
INSERT INTO t1 VALUES (1);
|
|
connection node_2;
|
|
connection node_3;
|
|
SELECT COUNT(*) = 1 FROM t1;
|
|
COUNT(*) = 1
|
|
1
|
|
connection node_1;
|
|
connection node_2;
|
|
connection node_2;
|
|
# restart: with restart_parameters
|
|
INSERT INTO t1 VALUES (2);
|
|
connection node_3;
|
|
SELECT COUNT(*) = 2 FROM t1;
|
|
COUNT(*) = 2
|
|
1
|
|
DROP TABLE t1;
|