Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman
Дата
Msg-id 3386734.1649354265@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2022-04-07 13:40:30 -0400, Tom Lane wrote:
>> This test is sending a CHECKPOINT command to the standby and
>> expecting it to run the archive_cleanup_command, but it looks
>> like the standby did not actually run any checkpoint:
>> ...
>> I wondered if the recent pg_stats changes could have affected this, but I
>> don't really see how.

> I don't really see either. It's a bit more conceivable that the recovery
> prefetching changes could affect the timing sufficiently?

Oh, that's at least a little plausible.

> I guess we'll have to wait and see what the frequency of the problem is?

Yeah, with only one instance it could just be cosmic rays or something.
However, assuming it is real, I guess I wonder why we don't say
CHECKPOINT_FORCE in standby mode too.

            regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [PATCH] Add native windows on arm64 support
Следующее
От: Andres Freund
Дата:
Сообщение: Re: test/isolation/expected/stats_1.out broken for me