Re: [HACKERS] Regression stoping PostgreSQL 9.4.13 if a walsender is running

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] Regression stoping PostgreSQL 9.4.13 if a walsender is running
Дата
Msg-id 20170824222235.qflyaobzws25mrgh@alap3.anarazel.de
обсуждение исходный текст
Ответ на [HACKERS] Regression stoping PostgreSQL 9.4.13 if a walsender is running  (Marco Nenciarini <marco.nenciarini@2ndquadrant.it>)
Список pgsql-hackers
Hi,

On 2017-08-22 19:28:22 +0200, Marco Nenciarini wrote:
> I have noticed that after the 9.4.13 release PostgreSQL reliably fails
> to shutdown with smart and fast method if there is a running walsender.
> 
> The postmaster continues waiting forever for the walsender termination.
> 
> It works perfectly with all the other major releases.
> 
> I bisected the issue to commit 1cdc0ab9c180222a94e1ea11402e728688ddc37d
> 
> After some investigation I discovered that the instruction that sets
> got_SIGUSR2 was lost during the backpatch in the WalSndLastCycleHandler
> function.
> 
> The trivial patch is the following:

Pushed, thanks!  And sorry again.

Greetings,

Andres Freund



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] taking stdbool.h into use
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] MCXT_ALLOC_NO_OOM -> DSA_ALLOC_NO_OOM in dsa.c