Fix two-phase commit test for recovery mode
Alvaro Herrera <alvherre@alvh.no-ip.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/test/recovery/t/009_twophase.pl | modified | +8 −0 |
Discussion
- More replication race conditions 18 messages · 2017-08-24 → 2017-09-02