forked from pool/mariadb
30 lines
960 B
Diff
30 lines
960 B
Diff
|
PATCH-P1-FIX-FEATURE: Enhance wsrep.cnf (galera configuration file)
|
||
|
|
||
|
wsrep_on option defines whether or not wsrep replication is enabled.
|
||
|
It's set to OFF by default since MariaDB 10.1 but we want to mention
|
||
|
this option explicitly in galera configuration file in order to bring
|
||
|
it to the user's attention.
|
||
|
|
||
|
Set the location of the wsrep library (wsrep_provider option).
|
||
|
|
||
|
Maintainer: Kristyna Streitova <kstreitova@suse.cz>
|
||
|
|
||
|
|
||
|
Index: mariadb-10.2.9/support-files/wsrep.cnf.sh
|
||
|
===================================================================
|
||
|
--- mariadb-10.2.9.orig/support-files/wsrep.cnf.sh
|
||
|
+++ mariadb-10.2.9/support-files/wsrep.cnf.sh
|
||
|
@@ -30,8 +30,11 @@ bind-address=0.0.0.0
|
||
|
## WSREP options
|
||
|
##
|
||
|
|
||
|
+# Whether or not wsrep replication is enabled
|
||
|
+wsrep_on=OFF
|
||
|
+
|
||
|
# Full path to wsrep provider library or 'none'
|
||
|
-wsrep_provider=none
|
||
|
+wsrep_provider=%{_libdir}/galera/libgalera_smm.so
|
||
|
|
||
|
# Provider specific configuration options
|
||
|
#wsrep_provider_options=
|