Make new replication slot test code less racy
Alvaro Herrera <alvherre@alvh.no-ip.org>
Make new replication slot test code less racy The new test code added in ead9e51e8236 is racy -- it hinges on shared-memory state, which changes before the WARNING message is logged. Put it the other way around. Backpatch to 13. Author: Álvaro Herrera <alvherre@alvh.no-ip.org> Discussion: https://postgr.es/m/202107161809.zclasccpfcg3@alvherre.pgsql
Files
| Path | Change | +/− |
|---|---|---|
| src/test/recovery/t/019_replslot_limit.pl | modified | +15 −12 |
Discussion
- BUG #17103: WAL segments are not removed after exceeding max_slot_wal_keep_size 27 messages · 2021-07-13 → 2021-08-02