mirror of
https://github.com/MariaDB/server.git
synced 2025-07-09 21:08:16 +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>
8 lines
259 B
Text
8 lines
259 B
Text
--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;
|
|
REPAIR TABLE performance_schema.setup_objects;
|
|
SET GLOBAL wsrep_on=OFF;
|