trove/releasenotes/notes/fix-mysql-replication-ca0928069c0bfab8.yaml
Doug Shelley 9b03fec1e1 Mysql replicas need to set binlog_format
For GTID replication we set the replica source (i.e. master)
to have a binlog_format of MIXED. We aren't setting this on
the replicas so they default to STATEMENT. This causes a problem
with certain "non-deterministic" functions (e.g. RAND()). This
changes replica config templates for Mysql and Percona to use
MIXED mode.

A new scenario test was introduced to validate that the
replicas have this set.

MariaDB doesn't appear to have this issue so it wasn't changed.

Scenario tests for Mysql, Percona and MariaDB were run to
validate this change.

Change-Id: I936cd9bc53a812af19653e9b5b472103fab2b6c1
Closes-bug: 1563541
2016-04-19 13:07:09 +00:00

5 lines
126 B
YAML

---
fixes:
- Fixed default configuration template for MySQL to ensure that
replication uses binlog_format. Bug 1563541.