Skip to content

Commit

Permalink
Updated openstack/openstack
Browse files Browse the repository at this point in the history
Project: openstack-infra/puppet-mysql_backup  320fe64ba8272aab7538297123659ccc39636def

Use --single-transaction for mysqldump

InnoDB is an MVCC storage engine. This means it does not need to lock
tables in order to do a consistent read of data. Add
--single-transaction to mysqldump invocations to enable this behavior
and stop locking the tables.

Downsides to this - changes made to MyISAM tables may not be consistent
(but for the love of all that is holy we should be storing nothing in
MyISAM and neither should anyone else) and DDL commands will not be
allowed during the backup.

Change-Id: If2ea9e5a25a3cfe30c16cc646463afbd3b2a5ab5
  • Loading branch information
emonty authored and openstack-gerrit committed Feb 16, 2017
1 parent 8479c38 commit 18bca38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puppet-mysql_backup
Submodule puppet-mysql_backup updated from ec9649 to 320fe6

0 comments on commit 18bca38

Please sign in to comment.