Add a test for commit ac0e33136a using the injection point.
Amit Kapila <akapila@postgresql.org>
Add a test for commit ac0e33136a using the injection point. This test uses an injection point to bypass the time overhead caused by the idle_replication_slot_timeout GUC, which has a minimum value of one minute. Author: Hayato Kuroda <kuroda.hayato@fujitsu.com> Author: Nisha Moond <nisha.moond412@gmail.com> Reviewed-by: Peter Smith <smithpb2250@gmail.com> Reviewed-by: Vignesh C <vignesh21@gmail.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Discussion: https://postgr.es/m/CALj2ACW4aUe-_uFQOjdWCEN-xXoLGhmvRFnL8SNw_TZ5nJe+aw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/slot.c | modified | +25 −9 |
| src/test/recovery/meson.build | modified | +1 −0 |
| src/test/recovery/t/044_invalidate_inactive_slots.pl | added | +105 −0 |
Discussion
- Introduce XID age and inactive timeout based replication slot invalidation 414 messages · 2024-01-11 → 2025-02-20