summaryrefslogtreecommitdiff
path: root/src/common/binaryheap.c
diff options
context:
space:
mode:
authorAmit Kapila2024-02-14 10:46:08 +0000
committerAmit Kapila2024-02-14 10:46:08 +0000
commitbd8fc1677b88ed80e4e00e0e46401ec537952482 (patch)
tree48ff60ffdf2f99b1488b0273ba2c104316084c42 /src/common/binaryheap.c
parentb8f9e7772595bf8527ded33884d5ed9f16e0653d (diff)
Fix BF introduced in commit ddd5f4f54a.
The failure is that the remote slot is not synchronized after the same slot on standby gets invalidated. The reason was that remote_slot's restart_lsn was lagged behind the standby's oldest WAL segment. The test didn't ensure that remote_slot's LSN was advanced to the latest position before we tried to sync the slots via new the function pg_sync_replication_slots(). Discussion: https://postgr.es/m/CAA4eK1JLBi3HzenB6do3_hd78kN0UDD1mz-vumWE52XHHEq5Bw@mail.gmail.com
Diffstat (limited to 'src/common/binaryheap.c')
0 files changed, 0 insertions, 0 deletions