Switch to RBR for Gerrit's MySQL binlogs

MySQL binlogs are filling up quick due to lots of delete statements during user
sync that don't delete any rows.  We could test to see if the rows exist first
but this would be a performance hit on a script that takes forever to run as it
is (plus the new sync script will work differently and not have this problem).

Switching to RBR which will only log row changes so will ignore these deletes.

Fixes bug #1002550

Change-Id: Ief2097de63bd0a5bde129b72cec87ff3745a6ea1
This commit is contained in:
Andrew Hutchings 2012-05-22 12:04:51 +01:00
parent 666a162bc8
commit 32b780b9b3

View File

@ -92,6 +92,7 @@ server-id = 1
log_bin = /var/log/mysql/mysql-bin.log
expire_logs_days = 10
max_binlog_size = 100M
binlog_format = ROW
#binlog_do_db = include_database_name
#binlog_ignore_db = include_database_name
#