Обсуждение: [COMMITTERS] pgsql: Fix two-phase commit test for recovery mode

Поиск
Список
Период
Сортировка

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

От
Alvaro Herrera
Дата:
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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/89c59b742a7f89eb598a25b70aaa3ab97381f67d

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