Enable log_slave_updates

Without log_slave_updates enabled, the bin logs are only written on the
cluster server that handles the request. This makes database recovery
more difficult as the bin logs are spread across all servers and must be
combined manually in order to recover the database.

Enabling log_slave_updates ensures all nodes in the cluster contain the
complete bin logs and recovery can be performed from any cluster member.

Change-Id: I978d6aea93369382faeace96b7865b9e56a7995a
Closes-Bug: #1479473
This commit is contained in:
Christopher H. Laco 2015-08-15 15:50:10 -05:00 committed by Jesse Pretorius
parent c5f401cc42
commit 41332ab35f

View File

@ -36,6 +36,7 @@ log_error = /var/log/mysql_logs/galera_server_error.log
log-bin = /var/lib/mysql/mariadb-bin
log-bin-index = /var/lib/mysql/mariadb-bin.index
expire-logs-days = 7
log_slave_updates = 1
# SAFETY #
max-allowed-packet = 16M