pgsql: In the pg_rewind test suite, receive WAL fully before promoting.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In the pg_rewind test suite, receive WAL fully before promoting.
Date: 2015-09-07 23:03:50
Message-ID: E1ZZ5S2-0006S9-Kn@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

In the pg_rewind test suite, receive WAL fully before promoting.

If a transaction never reaches the standby, later tests find unexpected
cluster state. A "tail-copy: query result matches" test failure has
been the usual symptom. Among the buildfarm members having run this
test suite, most have exhibited that symptom at least once. Back-patch
to 9.5, where pg_rewind was introduced.

Michael Paquier, reported by Christoph Berg.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/58feb1a94a5ea0ae3395b1818ba76ab68485a7a4

Modified Files
--------------
src/bin/pg_rewind/RewindTest.pm | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2015-09-08 00:24:50 pgsql: contrib/sslinfo: add ssl_extension_info SRF
Previous Message Jeff Davis 2015-09-07 22:41:38 pgsql: Coordinate log_line_prefix options 'm' and 'n' to share a timeva