Commit 9b9b6d39 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

main/postgresql-bdr: increase wait interval after startup

mitigate race condition which occurs when a client connects too early
after 'pg_ctl start' has finished
parent 2e01e3bb
......@@ -2,7 +2,7 @@
pkgname=postgresql-bdr
pkgver=9.4.5_p1
_ver=${pkgver/_p/_bdr}
pkgrel=1
pkgrel=2
pkgdesc="A sophisticated object-relational DBMS with bidirectional replication support (BDR)"
url="https://wiki.postgresql.org/wiki/BDR_Administration"
arch="all"
......@@ -91,21 +91,21 @@ contrib() {
md5sums="1b43b8adf7f58d06d011d7e3488858c5 postgresql-bdr-9.4.5_bdr1.tar.bz2
00f0fc07fb8447f7e174c4cee0661722 initdb.patch
8dec4e9dc132304b5d33586acbcdbf90 postgresql-bdr-osxflags.patch
411347be610f498c6d80388215cfa766 postgresql-bdr.initd
b548c3162c1095b78878c05e6f6a3f85 postgresql-bdr.initd
199747784fcba0a92e55283b90993d78 postgresql-bdr.confd
498e1c28b2dc9a01a47edd7592bd1823 pgbdr-restore.initd
bf45384752b320b369f1425939763178 pgbdr-restore.confd"
sha256sums="1bf55c8844f42ebc1dfec09c93b87c83ebec297bce8acf928c2be573620895ff postgresql-bdr-9.4.5_bdr1.tar.bz2
36a65229bf31b20a95ff2e2cac1a6ece0c61afdcd0b544759ad12f34d1b98a39 initdb.patch
d6f0f3eebca1c524c746c54be289e9816b00ad27fbfa834c2caee76c47daf155 postgresql-bdr-osxflags.patch
288400a40751e4c684dd6f7e772e5c5bbb5d44e3e5e81ed42e3a9f4289dc1e10 postgresql-bdr.initd
226fab62f6c6bd612aa301bc23a113139a9d88ff1166cac7e74252c8c37eb173 postgresql-bdr.initd
70ac7bf24556c16e6324b4efe76fba425bb09a2f7e74afbb5f988333eb8df724 postgresql-bdr.confd
e1d91da4572902e8b150ce25c21eb012817634d6aad4ae6f9d9d344213b872b8 pgbdr-restore.initd
31414d8b57c4cd2116b6014de3f1329875151910753fbd616daec4554866d02f pgbdr-restore.confd"
sha512sums="cabb1b82926de79f856276a44f13d51d48387138d922d11600b1a33fc5fe13bd0e4192083f738148693c9fa6a6a7d34b818c35084584becc1d1d4c2dd13f65fb postgresql-bdr-9.4.5_bdr1.tar.bz2
6f7fdceb1a5aba3f00894ae88afdf25e5f9c7a0ffc00b11211011a6415ea73639d6a67f516cab66c6487484bab26ded3c93471d6d41ac0d3822926c22274f2ba initdb.patch
1973863bfc208ce20ca2dd82557ebbd4fcddd1219d6a80f2e83550d0110d39f034cb829cca3ee9208f513a24b032267b94559c740ddddb10a4f24c630194eb5e postgresql-bdr-osxflags.patch
fcbda26c4b82166f729f5a09d9d91f7fc44477282e198eb805b2ec7ede300a210a88a18d37b060fcfca5c711664fa8987b79d15400bf1a7cb50de79e86606131 postgresql-bdr.initd
ad1c03ae519f97b615e238e0f38cb370826be2d5fb3ddde6e16d10329d41a27a24a3e68654edf8849a19b0dc7e0a4dee352bc53e573cc30e7aa7621b1ec344ee postgresql-bdr.initd
e906e23241bed2624719c1e7e5305695cce1cb520f26f6a4c6bbb994f59db3cc4c63afcfe0e7fb705ad4691dd0a911770012fc16819e4c2686c7029e1e4a4a45 postgresql-bdr.confd
a20f4b2f7f6e2500b6f2b649d8e27a59d82f07768d7a1ee503cea3a88d21d86344f3b7e89ea10f9ce8509b44d71dbee1c9d8ca60ec0c968f36867270120c913f pgbdr-restore.initd
c14a5684e914abb3b0ee71bbf15eed71a9264deacaa404a6e3af6bfc330d93e7598624d0ed11a94263106cc660f7f54c8ff57e759033cf606a795f69ff6c1c7c pgbdr-restore.confd"
......@@ -60,7 +60,7 @@ start() {
--env "PGPORT=${configured_port}" \
${extraenv} \
--pidfile ${PGDATA}/postmaster.pid \
--wait 500 \
--wait 2000 \
--exec /usr/bin/pg_ctl \
-- \
start -s -w -t ${START_TIMEOUT:-10} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment