Sandro Bonazzola has submitted this change and it was merged.
Change subject: packaging: setup: allow tuning dump/restore
......................................................................
packaging: setup: allow tuning dump/restore
The default is same as today - custom format, -j 2, no filter.
Currently no interaction. Values used are written to the answer file,
which can be edited manually:
OVESETUP_DB/dumper=str:VALUE
where VALUE is one of:
pg_plain
pg_custom
OVESETUP_DB/filter=VALUE
where VALUE is one of:
str:gzip
str:bzip2
str:xz
none:None
OVESETUP_DB/restoreJobs=str:NUM
where NUM is the number of concurrent restore jobs, used only if
dumper is pg_custom and filter is None.
Currently only backup/restore done during engine-setup are affected.
Note that the bug 1188132 mentioned below talks about engine-backup.
This will be possible while working on bug 1064503, which talks about
rewriting engine-backup using the engine-setup framework.
Change-Id: I99de636d4da15a253f2186084902f0f133603f4d
Related-To:
https://bugzilla.redhat.com/1188132
Signed-off-by: Yedidyah Bar David <didi(a)redhat.com>
---
M packaging/setup/ovirt_engine_setup/engine/constants.py
M packaging/setup/ovirt_engine_setup/engine_common/constants.py
M packaging/setup/ovirt_engine_setup/engine_common/database.py
M packaging/setup/ovirt_engine_setup/engine_common/postgres.py
M packaging/setup/plugins/ovirt-engine-common/ovirt-engine/db/connection.py
5 files changed, 341 insertions(+), 125 deletions(-)
Approvals:
Sandro Bonazzola: Looks good to me, approved
Simone Tiraboschi: Looks good to me, but someone else must approve
oVirt Jenkins CI Server: Looks good to me, but someone else must approve
Yedidyah Bar David: Verified
Objections:
oVirt Jenkins CI Server: Fails
--
To view, visit
https://gerrit.ovirt.org/39190
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I99de636d4da15a253f2186084902f0f133603f4d
Gerrit-PatchSet: 10
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <didi(a)redhat.com>
Gerrit-Reviewer: Lev Veyde <lveyde(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: Yedidyah Bar David <didi(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server