aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-07-24 10:53:39 +0900
committerMichael Paquier <michael@paquier.xyz>2019-07-24 10:53:39 +0900
commit7d81bdc8c0ce838efa248928065e9b2da829f981 (patch)
tree38673e4d0526c20c9feb61609f6cf4495bfba351 /src/backend/access/gist/gistvacuum.c
parent5562272a4229cfa57354aa203cffd36b4e7f70cb (diff)
downloadpostgresql-7d81bdc8c0ce838efa248928065e9b2da829f981.tar.gz
postgresql-7d81bdc8c0ce838efa248928065e9b2da829f981.zip
Improve stability of TAP test for synchronous replication
Slow buildfarm machines have run into issues with this TAP test caused by a race condition related to the startup of a set of standbys, where it is possible to finish with an unexpected order in the WAL sender array of the primary. This closes the race condition by making sure that any standby started is registered into the WAL sender array of the primary before starting the next one based on lookups of pg_stat_replication. Backpatch down to 9.6 where the test has been introduced. Author: Michael Paquier Reviewed-by: Álvaro Herrera, Noah Misch Discussion: https://postgr.es/m/20190617055145.GB18917@paquier.xyz Backpatch-through: 9.6
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions