mirror of
https://github.com/MariaDB/server.git
synced 2025-07-13 14:58:15 +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>
17 lines
402 B
INI
17 lines
402 B
INI
# Use default setting for mysqld processes
|
|
!include include/default_mysqld.cnf
|
|
|
|
[mysqld]
|
|
wsrep-on=OFF
|
|
wsrep-provider=@ENV.WSREP_PROVIDER
|
|
log-bin
|
|
binlog-format=row
|
|
loose-wsrep_cluster_address=gcomm://
|
|
loose-wsrep_node_address='127.0.0.1:@mysqld.1.#galera_port'
|
|
loose-wsrep-incoming-address=127.0.0.1:@mysqld.1.port
|
|
|
|
[mysqld.1]
|
|
wsrep-on=OFF
|
|
#galera_port=@OPT.port
|
|
#ist_port=@OPT.port
|
|
#sst_port=@OPT.port
|