Browse Source

Support expand->migrate->contract db migrations

In order to support rolling upgrades, OpenStack services
are moving to a trigger driven approach to db upgrade,
involving expand, migrate and contract phases.

This requires that the underlying db supports creation of
such triggers which requires that:

  log_bin_trust_function_creators = 1

in the MySQL global configuration.

Change-Id: Id2cf2dd5a0929270229541e6cd488cd1c0d6103e
Closes-Bug: 1750705
changes/14/546714/1
James Page 4 years ago
parent
commit
4b62b587af
  1. 3
      templates/mysqld.cnf

3
templates/mysqld.cnf

@ -72,6 +72,9 @@ log_bin={{ binlogs_path }}
expire_logs_days = {{ binlogs_expire_days }}
max_binlog_size = {{ binlogs_max_size }}
# Required to allow trigger creation for openstack services
log_bin_trust_function_creators = 1
#
# * InnoDB
#

Loading…
Cancel
Save