mirror of
https://github.com/MariaDB/server.git
synced 2025-07-12 22:38:14 +02:00

Cluster configuration was incorrect e.g. wsrep_node_address was missing. Therefore, Galera replication was not properly initialized and TOI is not supported. Fix is to check when user tries to start Galera replication with wsrep_on=ON that Galera replication is properly initialized and node is ready to receive operations. If Galera replication is not properly initialized return a error. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
11 lines
320 B
Text
11 lines
320 B
Text
#
|
|
# Check SHOW GLOBAL STATUS after dynamic setting WSREP=ON
|
|
#
|
|
--source include/have_innodb.inc
|
|
--source include/have_wsrep_provider.inc
|
|
--source include/have_binlog_format_row.inc
|
|
|
|
--error ER_GALERA_REPLICATION_NOT_SUPPORTED
|
|
SET GLOBAL wsrep_on=ON;
|
|
SHOW GLOBAL STATUS LIKE 'wsrep_cluster_size';
|
|
SET GLOBAL wsrep_on=OFF;
|