mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03: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>
7 lines
182 B
Plaintext
7 lines
182 B
Plaintext
SET GLOBAL wsrep_on=ON;
|
|
ERROR HY000: Galera replication not supported
|
|
SHOW GLOBAL STATUS LIKE 'wsrep_cluster_size';
|
|
Variable_name Value
|
|
wsrep_cluster_size 0
|
|
SET GLOBAL wsrep_on=OFF;
|