mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 20:10:55 +01:00
Use --single-transaction in bin/storage dump
Summary: See <https://github.com/phacility/phabricator/issues/665>. From reading documentation, this seems dramatically better for InnoDB tables than the default behavior. Test Plan: Ran `bin/storage dump`, got a reasonable-looking dump. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D10606
This commit is contained in:
parent
93681fcdbc
commit
644ca4c3a3
1 changed files with 1 additions and 3 deletions
|
@ -43,10 +43,8 @@ final class PhabricatorStorageManagementDumpWorkflow
|
||||||
: '';
|
: '';
|
||||||
|
|
||||||
return phutil_passthru(
|
return phutil_passthru(
|
||||||
|
'mysqldump --single-transaction --default-character-set=utf8 '.
|
||||||
'mysqldump --default-character-set=utf8 '.
|
|
||||||
'-u %s %C -h %s %C --databases %Ls',
|
'-u %s %C -h %s %C --databases %Ls',
|
||||||
|
|
||||||
$api->getUser(),
|
$api->getUser(),
|
||||||
$flag_password,
|
$flag_password,
|
||||||
$host,
|
$host,
|
||||||
|
|
Loading…
Reference in a new issue