postgres.git / summary / log / commit / refs
commit 6cd0e55f9ffb3be400e44812fa6163a217e09bf3
Author: Robert Haas <rhaas@postgresql.org>
Date: Thu Jun 10 13:43:35 2021 +0000
First released in: 9.6.23, 10.18, 11.13, 12.8
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
src/test/recovery/t/025_stuck_on_old_timeline.pl | 1 +
1 file changed, 1 insertion(+)
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;
[parent: 6eb5b9ae3917]