diff options
author | Fujii Masao <fujii@postgresql.org> | 2021-01-14 14:37:01 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2021-01-14 23:55:33 +0900 |
commit | 424d7a9b277c0da5ec638bf6344cda899a2e544a (patch) | |
tree | 9be21967fdf19a00f7f636975968cf815656d70a /src/backend/commands/tablespace.c | |
parent | 3f238b882c276a59f5d98224850e5aee2a3fec8c (diff) | |
download | postgresql-424d7a9b277c0da5ec638bf6344cda899a2e544a.tar.gz postgresql-424d7a9b277c0da5ec638bf6344cda899a2e544a.zip |
Stabilize timeline switch regression test.
Commit fef5b47f6b added the regression test to check whether a standby is
able to follow a primary on a newer timeline when WAL archiving is enabled.
But the buildfarm member florican reported that this test failed because
the requested WAL segment was removed and replication failed. This is a
timing issue. Since neither replication slot is used nor wal_keep_size is set
in the test, checkpoint could remove the WAL segment that's still necessary
for replication.
This commit stabilizes the test by setting wal_keep_size.
Back-patch to v13 where the regression test that this commit stabilizes
was added.
Author: Fujii Masao
Discussion: https://postgr.es/m/X//PsenxcC50jDzX@paquier.xyz
Diffstat (limited to 'src/backend/commands/tablespace.c')
0 files changed, 0 insertions, 0 deletions