MDEV-31134: sync galera settings with KB doc

The wsrep_provider setting is mandatory and needs to be present as a
guidance for the setup of Galera cluster. wsrep_cluster_name and
innodb_autoinc_lock_mode are not mandatory.

See: https://mariadb.com/kb/en/configuring-mariadb-galera-cluster/
This commit is contained in:
Faustin Lammler 2025-02-20 12:46:31 +01:00 committed by faust
parent 18115d392f
commit 8a95409393

View File

@ -1,21 +1,24 @@
# #
# * Galera-related settings # * Galera-related settings
# #
# See the examples of server wsrep.cnf files in /usr/share/mariadb # See the examples of server wsrep.cnf files in /usr/share/mariadb and read
# and read more at https://mariadb.com/kb/en/galera-cluster/ # more at https://mariadb.com/kb/en/galera-cluster/ and
# https://mariadb.com/kb/en/configuring-mariadb-galera-cluster/
[galera] [galera]
# Mandatory settings
#wsrep_on = ON
#wsrep_cluster_name = "MariaDB Galera Cluster" #wsrep_cluster_name = "MariaDB Galera Cluster"
# Mandatory settings
#wsrep_provider = /usr/lib/galera/libgalera_smm.so
#wsrep_cluster_address = gcomm:// #wsrep_cluster_address = gcomm://
#binlog_format = row #binlog_format = ROW
#wsrep_on = ON
#default_storage_engine = InnoDB #default_storage_engine = InnoDB
#innodb_autoinc_lock_mode = 2
# Allow server to accept connections on all interfaces. # Allow server to accept connections on all interfaces.
#bind-address = 0.0.0.0 #bind-address = 0.0.0.0
# Optional settings # Performance related settings
#wsrep_slave_threads = 1 #innodb_autoinc_lock_mode = 2
#innodb_flush_log_at_trx_commit = 0 #innodb_flush_log_at_trx_commit = 0
#wsrep_slave_threads = 1