Re: Assertion failure in pgstat_assert_is_up during walsender exit

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Assertion failure in pgstat_assert_is_up during walsender exit
Дата
Msg-id 20220214223612.btwrjswk7koz2ne7@alap3.anarazel.de
обсуждение исходный текст
Ответ на Assertion failure in pgstat_assert_is_up during walsender exit  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Assertion failure in pgstat_assert_is_up during walsender exit  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi,

On 2022-02-14 15:45:40 -0500, Tom Lane wrote:
> I tried to replicate the problem described in [1] about logical
> replication from a v14 source DB to a v11 target.  It fails as
> described there; I've not yet tracked down why, but it looks like
> the v11 apply worker fails and closes the connection after sending
> CREATE_REPLICATION_SLOT.  The v14 walsender doesn't have a problem
> with that.  However, if I do the same thing using HEAD as the source,
> I see an assertion failure on the way out of the walsender.  The
> postmaster log shows

Gah, sorry, forgot about this one. I'll fix it / apply the fix.

> I guess this indicates that walsenders don't initialize their pgstats
> support soon enough?

It's more that we don't release slots early enough, I think.

Greetings,

Andres Freund



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: fairywren is generating bogus BASE_BACKUP commands
Следующее
От: Andres Freund
Дата:
Сообщение: Re: fairywren is generating bogus BASE_BACKUP commands