pgsql: Close yet another race condition in replication slot test code

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Close yet another race condition in replication slot test code
Дата
Msg-id E1m9DJR-0000vw-Vl@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Close yet another race condition in replication slot test code

Buildfarm shows that this test has a further failure mode when a
checkpoint starts earlier than expected, so we detect a "checkpoint
completed" line that's not the one we want.  Change the config to try
and prevent this.

Per buildfarm

While at it, update one comment that was forgotten in commit
d18e75664a2f.

Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20210729.162038.534808353849568395.horikyota.ntt@gmail.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f951f6f69c7e77acdd04776168126f00e269dcfb

Modified Files
--------------
src/backend/access/transam/xlog.c         |  2 +-
src/test/recovery/t/019_replslot_limit.pl | 14 ++++++++++++--
2 files changed, 13 insertions(+), 3 deletions(-)


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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: docs: Fix bit_count example output
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Close yet another race condition in replication slot test code