summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2021-06-10 09:43:35 -0400
committerRobert Haas <rhaas@postgresql.org>2021-06-10 09:51:00 -0400
commit6cd0e55f9ffb3be400e44812fa6163a217e09bf3 (patch)
tree91f341ff4b5f732cf0530654917f5a2bfc4d7afe
parent6eb5b9ae39176a7d40003b4c2e9ca22e6b205def (diff)
Adjust new test case to set wal_keep_segments.
Per buildfarm member conchuela and Kyotaro Horiguchi, it's possible for the WAL segment that the cascading standby needs to be removed too quickly. Hopefully this will prevent that. Kyotaro Horiguchi Discussion: http://postgr.es/m/20210610.101240.1270925505780628275.horikyota.ntt@gmail.com
-rw-r--r--src/test/recovery/t/025_stuck_on_old_timeline.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/recovery/t/025_stuck_on_old_timeline.pl b/src/test/recovery/t/025_stuck_on_old_timeline.pl
index 9c8e9fd57d8..75bbef1bcc5 100644
--- a/src/test/recovery/t/025_stuck_on_old_timeline.pl
+++ b/src/test/recovery/t/025_stuck_on_old_timeline.pl
@@ -27,6 +27,7 @@ $perlbin =~ s{\\}{\\\\}g if ($TestLib::windows_os);
my $archivedir_primary = $node_primary->archive_dir;
$node_primary->append_conf('postgresql.conf', qq(
archive_command = '$perlbin "$FindBin::RealBin/cp_history_files" "%p" "$archivedir_primary/%f"'
+wal_keep_segments=8
));
$node_primary->start;