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