Re: [PATCH] Race condition in logical walsender causes longpostgresql shutdown delay

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: [PATCH] Race condition in logical walsender causes longpostgresql shutdown delay
Дата
Msg-id CAMkU=1xd2w6OmgHb_fCQW3-gHOswAEThqgkbZ=WLU_qbcok4Lg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Race condition in logical walsender causes longpostgresql shutdown delay  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: [PATCH] Race condition in logical walsender causes longpostgresql shutdown delay  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Wed, Sep 11, 2019 at 3:52 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:

Reading over this code, I noticed that the detection of the catch-up
state ends up being duplicate code, so I would rework that function as
in the attached patch.

The naming of those flags (got_SIGUSR2, got_STOPPING) is terrible, but
I'm not going to change that in a backpatchable bug fix.

Hi Alvaro, does this count as a review?  And Craig, do you agree with Alvaro's patch as a replacement for your own?
 
Thanks,

Jeff

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: Optimize partial TOAST decompression
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: range test for hash index?