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

Noah Misch <noah@leadboat.com>

Commit: 58feb1a94a5ea0ae3395b1818ba76ab68485a7a4
Author: Noah Misch <noah@leadboat.com>
Date: 2015-09-07T23:01:16Z
Releases: 9.5.0
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.

Files

PathChange+/−
src/bin/pg_rewind/RewindTest.pm modified +8 −6