Skip to content

Add --single-transaction support for mysql dump #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JoaRiski opened this issue Jun 6, 2019 · 0 comments · Fixed by #23
Closed

Add --single-transaction support for mysql dump #22

JoaRiski opened this issue Jun 6, 2019 · 0 comments · Fixed by #23

Comments

@JoaRiski
Copy link
Contributor

JoaRiski commented Jun 6, 2019

Add support for taking the mysql dump with the --single-transaction option, as to avoid locking the entire database for the duration of the dump.

This could be implemented by adding a section to the .sanitizerconfig for extra options to be passed to the dump tool.

@JoaRiski JoaRiski changed the title Add --single-transaction support for mysql dump Add --single-transaction support for mysql dump Jun 6, 2019
JoaRiski added a commit that referenced this issue Jun 6, 2019
Add support for defining extra parameters to pass to the dump CLI tool, for
both the pg_dump and mysqldump

Resolves #22
JoaRiski added a commit that referenced this issue Jun 6, 2019
Add support for defining extra parameters to pass to the dump CLI tool, for
both the pg_dump and mysqldump

Resolves #22
JoaRiski added a commit that referenced this issue Jun 7, 2019
Include the --single-transaction mysqldump parameter by default in the configuration
object, but allow it to be removed if the extra parameters are defined on the configuration
file explicitly.

Related to #22
JoaRiski added a commit that referenced this issue Jun 7, 2019
Include the --single-transaction mysqldump parameter by default in the configuration
object, but allow it to be removed if the extra parameters are defined on the configuration
file explicitly.

Related to #22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant