mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
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
This commit is contained in:
parent
5d950c721d
commit
2208d71a00
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user