mariadb/mysql-test/suite/galera_3nodes/r/galera_dynamic_protocol.result
mkaruza c409dd42ef MDEV-22131 allow transition from unencrypted to TLS cluster communication without cluster downtime
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.
2021-04-29 08:09:20 +03:00

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;