Re: 039_end_of_wal: error in "xl_tot_len zero" test

Поиск
Список
Период
Сортировка
От Anton Voloshin
Тема Re: 039_end_of_wal: error in "xl_tot_len zero" test
Дата
Msg-id c4bfdd5a-fa78-4f52-ab64-a5401e263af9@postgrespro.ru
обсуждение исходный текст
Ответ на Re: 039_end_of_wal: error in "xl_tot_len zero" test  (Thomas Munro <thomas.munro@gmail.com>)
Ответы Re: 039_end_of_wal: error in "xl_tot_len zero" test  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Hello, Thomas,

On 19/01/2024 01:35, Thomas Munro wrote:
> I don't yet have an opinion on the best way to
> do it though.  Would it be enough to add emit_message($node, 0) after
> advance_out_of_record_splitting_zone()?

Yes, indeed that seems to be enough. At least I could not produce any 
more "xl_tot_len zero" failures with that addition.

I like this solution the best.

> Tolerating the two different messages would weaken the test.

I agree, I also don't really like this option.

-- 
Anton Voloshin
Postgres Professional, The Russian Postgres Company
https://postgrespro.ru



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

Предыдущее
От: Bertrand Drouvot
Дата:
Сообщение: Re: Synchronizing slots from primary to standby
Следующее
От: Justin Pryzby
Дата:
Сообщение: Re: pg_upgrade and logical replication