diff --git a/src/test/recovery/t/040_standby_failover_slots_sync.pl b/src/test/recovery/t/040_standby_failover_slots_sync.pl index 5e4dd6c0ab..16483e52a9 100644 --- a/src/test/recovery/t/040_standby_failover_slots_sync.pl +++ b/src/test/recovery/t/040_standby_failover_slots_sync.pl @@ -505,8 +505,9 @@ ok( $standby1->poll_query_until( 'restart_lsn and confirmed_flush_lsn of slot lsub1_slot synced to standby'); ################################################## -# Test primary disallowing specified logical replication slots getting ahead of -# specified physical replication slots. It uses the following set up: +# Test that logical failover replication slots wait for the specified +# physical replication slots to receive the changes first. It uses the +# following set up: # # (physical standbys) # | ----> standby1 (primary_slot_name = sb1_slot) @@ -518,9 +519,9 @@ ok( $standby1->poll_query_until( # # standby_slot_names = 'sb1_slot' # -# Set up is configured in such a way that the logical slot of subscriber1 is -# enabled for failover, thus it will wait for the physical slot of -# standby1(sb1_slot) to catch up before sending decoded changes to subscriber1. +# The setup is configured in such a way that the logical slot of subscriber1 is +# enabled for failover, and thus the subscriber1 will wait for the physical +# slot of standby1(sb1_slot) to catch up before receiving the decoded changes. ################################################## $backup_name = 'backup3'; @@ -543,8 +544,8 @@ primary_slot_name = 'sb2_slot' $standby2->start; $primary->wait_for_replay_catchup($standby2); -# Configure primary to disallow any logical slots that enabled failover from -# getting ahead of specified physical replication slot (sb1_slot). +# Configure primary to disallow any logical slots that have enabled failover +# from getting ahead of the specified physical replication slot (sb1_slot). $primary->append_conf( 'postgresql.conf', qq( standby_slot_names = 'sb1_slot'