Ensure standby promotion point in 043_wal_replay_wait.pl
Alexander Korotkov <akorotkov@postgresql.org>
Ensure standby promotion point in 043_wal_replay_wait.pl This commit ensures standby will be promoted at least at the primary insert LSN we have just observed. We use pg_switch_wal() to force the insert LSN to be written then wait for standby to catchup. Reported-by: Alexander Lakhin Discussion: https://postgr.es/m/1d7b08f2-64a2-77fb-c666-c9a74c68eeda%40gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/recovery/t/043_wal_replay_wait.pl | modified | +6 −0 |
Discussion
- Re: [HACKERS] make async slave to wait for lsn to be replayed 113 messages · 2023-02-28 → 2024-09-17