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
This commit is contained in:
James Page 2018-02-21 17:46:37 +00:00
parent 1098ef8430
commit 4b62b587af
1 changed files with 3 additions and 0 deletions

View File

@ -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
#