[COMMITTERS] pgsql: Fix two-phase commit test for recovery mode - Mailing list pgsql-committers

From Alvaro Herrera
Subject [COMMITTERS] pgsql: Fix two-phase commit test for recovery mode
Date
Msg-id E1dnnJs-0002Si-Pc@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix two-phase commit test for recovery mode

The original code had a race condition because it never ensured the
standby was caught up before proceeding; add a wait similar to every
other place that does this.

Author: Michaël Paquier
Discussion: https://postgr.es/m/CAB7nPqTm9p+LCm1mVJYvgpwagRK+uibT-pKq0O2-paOWxT62jw@mail.gmail.com

Branch
------
REL_10_STABLE

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

Modified Files
--------------
src/test/recovery/t/009_twophase.pl | 8 ++++++++
1 file changed, 8 insertions(+)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [COMMITTERS] pgsql: Provisional list of Major Features
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Use group updates when setting transaction status in clog.