mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-13 02:57:52 +02:00
a360f952ff
This script supposed that if it turned hot_standby_feedback on and then shut down the standby server, at least one feedback message would be guaranteed to be sent before the standby stops. But there is no such guarantee, if the standby's walreceiver process is slow enough --- and we've seen multiple failures in the buildfarm showing that that does happen in practice. While we could rearrange the walreceiver logic to make it less likely, it seems probably impossible to create a really bulletproof guarantee of that sort; and if we tried, we might create situations where the walreceiver wouldn't react in a timely manner to shutdown commands. It seems better instead to remove the script's assumption that feedback will occur before shutdown. But once we do that, these last few tests seem quite redundant with the earlier tests in the script. So let's just drop them altogether and save some buildfarm cycles. Backpatch to v10 where these tests were added. Discussion: https://postgr.es/m/1922.1531592205@sss.pgh.pa.us |
||
---|---|---|
.. | ||
t | ||
.gitignore | ||
Makefile | ||
README |
src/test/recovery/README Regression tests for recovery and replication ============================================= This directory contains a test suite for recovery and replication. Running the tests ================= NOTE: You must have given the --enable-tap-tests argument to configure. Run make check or make installcheck You can use "make installcheck" if you previously did "make install". In that case, the code in the installation tree is tested. With "make check", a temporary installation tree is built from the current sources and then tested. Either way, this test initializes, starts, and stops several test Postgres clusters.