Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Korotkov2025-06-14 00:35:27 +0000
committerAlexander Korotkov2025-06-14 00:58:14 +0000
commit32ab0fd55da5b667a25e56bd74e258bb8eca6cf3 (patch)
tree0224ef82b6d2a71aa00da01062dd88a272ede43b /contrib
parent2090edc6f32f652a2c995ca5f7e65748ae1e4c5d (diff)
Add TAP tests to check replication slot advance during the checkpointREL_17_STABLE
The new tests verify that logical and physical replication slots are still valid after an immediate restart on checkpoint completion when the slot was advanced during the checkpoint. This commit introduces two new injection points to make these tests possible: * checkpoint-before-old-wal-removal - triggered in the checkpointer process just before old WAL segments cleanup; * logical-replication-slot-advance-segment - triggered in LogicalConfirmReceivedLocation() when restart_lsn was changed enough to point to the next WAL segment. Discussion: https://postgr.es/m/flat/1d12d2-67235980-35-19a406a0%4063439497 Author: Vitaly Davydov <v.davydov@postgrespro.ru> Author: Tomas Vondra <tomas@vondra.me> Reviewed-by: Alexander Korotkov <aekorotkov@gmail.com> Reviewed-by: Amit Kapila <amit.kapila16@gmail.com> Backpatch-through: 17
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions