[Commits] Rev 3512: MDEV-3896: More user-friendly cnf files in MariaDB-Galera rpm/deb in lp:~maria-captains/maria/maria-5.5-galera

Nirbhay Choubey nirbhay at skysql.com
Thu Jul 17 23:22:06 EEST 2014


At lp:~maria-captains/maria/maria-5.5-galera

------------------------------------------------------------
revno: 3512
revision-id: nirbhay at skysql.com-20140717202201-dytybfk252pjybn9
parent: nirbhay at skysql.com-20140715045429-d00tr2k9h0ftaqr4
committer: Nirbhay Choubey <nirbhay at skysql.com>
branch nick: maria-5.5-galera_3896
timestamp: Thu 2014-07-17 16:22:01 -0400
message:
  MDEV-3896: More user-friendly cnf files in MariaDB-Galera rpm/deb
  packages
  
  * Added "galera" as default option group.
  * Updated deb/rpm server config files to include mandatory
    and optional settings (as comments) required to configure
    Galera cluster.
-------------- next part --------------
=== modified file 'debian/additions/my.cnf'
--- a/debian/additions/my.cnf	2012-07-05 07:29:34 +0000
+++ b/debian/additions/my.cnf	2014-07-17 20:22:01 +0000
@@ -151,7 +151,21 @@
 # ssl-cert=/etc/mysql/server-cert.pem
 # ssl-key=/etc/mysql/server-key.pem
 
-
+#
+# * Galera-related settings
+#
+[galera]
+# Mandatory settings
+#wsrep_provider=
+#wsrep_cluster_address=
+#wsrep_slave_threads=1
+#binlog_format=row
+#default_storage_engine=InnoDB
+#innodb_autoinc_lock_mode=2
+#query_cache_size=0
+#
+# Optional setting
+#innodb_flush_log_at_trx_commit=2
 
 [mysqldump]
 quick

=== modified file 'include/mysqld_default_groups.h'
--- a/include/mysqld_default_groups.h	2013-03-06 08:32:13 +0000
+++ b/include/mysqld_default_groups.h	2014-07-17 20:22:01 +0000
@@ -5,4 +5,7 @@
 "mysqld", "server", MYSQL_BASE_VERSION,
 "mariadb", MARIADB_BASE_VERSION,
 "client-server",
+#ifdef WITH_WSREP
+"galera",
+#endif
 0, 0};

=== modified file 'support-files/rpm/server.cnf'
--- a/support-files/rpm/server.cnf	2012-06-15 08:26:06 +0000
+++ b/support-files/rpm/server.cnf	2014-07-17 20:22:01 +0000
@@ -11,6 +11,22 @@
 # this is only for the mysqld standalone daemon
 [mysqld]
 
+#
+# * Galera-related settings
+#
+[galera]
+# Mandatory settings
+#wsrep_provider=
+#wsrep_cluster_address=
+#wsrep_slave_threads=1
+#binlog_format=row
+#default_storage_engine=InnoDB
+#innodb_autoinc_lock_mode=2
+#query_cache_size=0
+#
+# Optional setting
+#innodb_flush_log_at_trx_commit=2
+
 # this is only for embedded server
 [embedded]
 



More information about the commits mailing list