Skip to content

Commit 6cd0e55

Browse files
committed
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
1 parent 6eb5b9a commit 6cd0e55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/recovery/t/025_stuck_on_old_timeline.pl

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
my $archivedir_primary = $node_primary->archive_dir;
2828
$node_primary->append_conf('postgresql.conf', qq(
2929
archive_command = '$perlbin "$FindBin::RealBin/cp_history_files" "%p" "$archivedir_primary/%f"'
30+
wal_keep_segments=8
3031
));
3132
$node_primary->start;
3233

0 commit comments

Comments
 (0)