pgsql: Stabilize timeline switch regression test.

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Stabilize timeline switch regression test.
Дата
Msg-id E1l043g-0007Oo-2E@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8523a0971ba6490919c8e04bc7f7229aa38c789b

Modified Files
--------------
src/test/recovery/t/004_timeline_switch.pl | 4 ++++
1 file changed, 4 insertions(+)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Stabilize timeline switch regression test.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Prevent drop of tablespaces used by partitioned relations