Close yet another race condition in replication slot test code
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 29 Jul 2021 21:09:06 +0000 (17:09 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 29 Jul 2021 21:09:06 +0000 (17:09 -0400)
commitce197e91d02ca38ac1b956a3e0c11596099e7893
tree994d87ddf47e7f421c74c63e3dbaf0555ad5c6be
parentfcf4c0ae1db8594cf3d3e84d2564616497eecd5a
Close yet another race condition in replication slot test code

Buildfarm shows that this test has a further failure mode when a
checkpoint starts earlier than expected, so we detect a "checkpoint
completed" line that's not the one we want.  Change the config to try
and prevent this.

Per buildfarm

While at it, update one comment that was forgotten in commit
d18e75664a2f.

Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20210729.162038.534808353849568395.horikyota.ntt@gmail.com
src/backend/access/transam/xlog.c
src/test/recovery/t/019_replslot_limit.pl