pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: In tests, await an LSN no later than the recovery target.
3+ messages / 1 participants
[nested] [flat]

* pgsql: In tests, await an LSN no later than the recovery target.
@ 2018-01-01 06:06 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Noah Misch @ 2018-01-01 06:06 UTC (permalink / raw)
  To: pgsql-committers

In tests, await an LSN no later than the recovery target.

Otherwise, the test fails with "Timed out while waiting for standby to
catch up".  This happened rarely, perhaps only when autovacuum wrote WAL
between our choosing the recovery target and choosing the LSN to await.
Commit b26f7fa6ae2b4e5d64525b3d5bc66a0ddccd9e24 fixed one case of this.
Fix two more.  Back-patch to 9.6, which introduced the affected test.

Discussion: https://postgr.es/m/20180101055227.GA2952815@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6078770c1a6c247bb74742cb1b82733cce8afcab

Modified Files
--------------
src/test/recovery/t/003_recovery_targets.pl | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: In tests, await an LSN no later than the recovery target.
@ 2018-01-01 06:06 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Noah Misch @ 2018-01-01 06:06 UTC (permalink / raw)
  To: pgsql-committers

In tests, await an LSN no later than the recovery target.

Otherwise, the test fails with "Timed out while waiting for standby to
catch up".  This happened rarely, perhaps only when autovacuum wrote WAL
between our choosing the recovery target and choosing the LSN to await.
Commit b26f7fa6ae2b4e5d64525b3d5bc66a0ddccd9e24 fixed one case of this.
Fix two more.  Back-patch to 9.6, which introduced the affected test.

Discussion: https://postgr.es/m/20180101055227.GA2952815@rfd.leadboat.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5f5d73dd1a813fbd84b5dbeedb665403bc26d98a

Modified Files
--------------
src/test/recovery/t/003_recovery_targets.pl | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: In tests, await an LSN no later than the recovery target.
@ 2018-01-01 06:06 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Noah Misch @ 2018-01-01 06:06 UTC (permalink / raw)
  To: pgsql-committers

In tests, await an LSN no later than the recovery target.

Otherwise, the test fails with "Timed out while waiting for standby to
catch up".  This happened rarely, perhaps only when autovacuum wrote WAL
between our choosing the recovery target and choosing the LSN to await.
Commit b26f7fa6ae2b4e5d64525b3d5bc66a0ddccd9e24 fixed one case of this.
Fix two more.  Back-patch to 9.6, which introduced the affected test.

Discussion: https://postgr.es/m/20180101055227.GA2952815@rfd.leadboat.com

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f9c1c6099519609aceb54fc5366f096a0b1e1b41

Modified Files
--------------
src/test/recovery/t/003_recovery_targets.pl | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2018-01-01 06:06 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-01 06:06 pgsql: In tests, await an LSN no later than the recovery target. Noah Misch <noah@leadboat.com>
2018-01-01 06:06 pgsql: In tests, await an LSN no later than the recovery target. Noah Misch <noah@leadboat.com>
2018-01-01 06:06 pgsql: In tests, await an LSN no later than the recovery target. Noah Misch <noah@leadboat.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox