launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #16394
[Merge] lp:~stub/launchpad/trivial into lp:launchpad
Stuart Bishop has proposed merging lp:~stub/launchpad/trivial into lp:launchpad.
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
Related bugs:
Bug #951401 in Launchpad itself: "parse-ppa-apache-logs failing (missing files)"
https://bugs.launchpad.net/launchpad/+bug/951401
Bug #1263002 in Launchpad itself: "Twisted feature flag support fails typecasting when updating"
https://bugs.launchpad.net/launchpad/+bug/1263002
For more details, see:
https://code.launchpad.net/~stub/launchpad/trivial/+merge/202247
Change staging restore parameters, maybe speeding it up.
--
https://code.launchpad.net/~stub/launchpad/trivial/+merge/202247
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~stub/launchpad/trivial into lp:launchpad.
=== modified file 'database/replication/Makefile'
--- database/replication/Makefile 2014-01-16 05:51:43 +0000
+++ database/replication/Makefile 2014-01-20 07:02:05 +0000
@@ -24,7 +24,7 @@
# run multiprocess.
## No multiprocess for now - don't want to overflow replication
## MULTIPROC=-j 4
-MULTIPROC=
+MULTIPROC=-j 2
NEW_STAGING_CONFIG=staging-setup # For building the db with a different name.
STAGING_CONFIG=staging-db # For swapping fresh db into place.
@@ -71,7 +71,7 @@
pg_restore --list ${STAGING_DUMP} | grep -v 'TRIGGER public _sl_' \
> ${DUMPLIST}
cat ${STAGING_DUMP} \
- | ./walblock.py -d /var/lib/postgresql/9.1/staging/pg_xlog \
+ | ./walblock.py -n 5000 -d /var/lib/postgresql/9.1/staging/pg_xlog \
| pg_restore --dbname=lpmain_staging --no-owner ${EXIT_ON_ERROR} \
--use-list=${DUMPLIST} ${MULTIPROC}
rm ${DUMPLIST}
Follow ups