commit 0015cc74416445c3cf4e18e566a954f609f7cf0f
Author: Jose Luis Franco Arza <email address hidden>
Date: Thu Jan 3 13:07:26 2019 +0100
Gracefully shutdown Mysql before upgrade.
When upgrading from MySQL 10.1 to 10.3 a bug appears if no
shutdown is being performed, as the redo log format has
changed in version 10.3.2 [0].
Make sure we always stop the MySQL server cleanly before
upgrading to a new version, to avoid redo log issue.
Note: to be idempotent, we need to stop the mysql container
rather than delete it; to be able to stop the container, we
amend the restart policy of the mysql container.
Reviewed: https:/ /review. openstack. org/628161 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=0015cc74416 445c3cf4e18e566 a954f609f7cf0f
Committed: https:/
Submitter: Zuul
Branch: master
commit 0015cc74416445c 3cf4e18e566a954 f609f7cf0f
Author: Jose Luis Franco Arza <email address hidden>
Date: Thu Jan 3 13:07:26 2019 +0100
Gracefully shutdown Mysql before upgrade.
When upgrading from MySQL 10.1 to 10.3 a bug appears if no
shutdown is being performed, as the redo log format has
changed in version 10.3.2 [0].
Make sure we always stop the MySQL server cleanly before
upgrading to a new version, to avoid redo log issue.
Note: to be idempotent, we need to stop the mysql container
rather than delete it; to be able to stop the container, we
amend the restart policy of the mysql container.
[0] - https:/ /jira.mariadb. org/browse/ MDEV-14848
Change-Id: Ia07b7755867858 c74c7334424e8e6 579ace495db
Co-Authored-By: Damien Ciabrini <email address hidden>
Closes-Bug: #1810136