File mariadb-10.2.9-galera_cnf.patch of Package mariadb
xxxxxxxxxx
1
PATCH-P1-FIX-FEATURE: Enhance wsrep.cnf (galera configuration file)
2
3
wsrep_on option defines whether or not wsrep replication is enabled.
4
It's set to OFF by default since MariaDB 10.1 but we want to mention
5
this option explicitly in galera configuration file in order to bring
6
it to the user's attention.
7
8
Set the location of the wsrep library (wsrep_provider option).
9
10
Maintainer: Kristyna Streitova <kstreitova@suse.cz>
11
12
13
Index: mariadb-10.2.9/support-files/wsrep.cnf.sh
14
===================================================================
15
--- mariadb-10.2.9.orig/support-files/wsrep.cnf.sh
16
+++ mariadb-10.2.9/support-files/wsrep.cnf.sh
17
18
## WSREP options
19
##
20
21
+# Whether or not wsrep replication is enabled
22
+wsrep_on=OFF
23
+
24
# Full path to wsrep provider library or 'none'
25
-wsrep_provider=none
26
+wsrep_provider=%{_libdir}/galera/libgalera_smm.so
27
28
# Provider specific configuration options
29
#wsrep_provider_options=
30