Re: Synchronous commit behavior during network outage

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Synchronous commit behavior during network outage
Дата
Msg-id c162f1d08a04c78c5127b37fcfc02527900a8029.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Synchronous commit behavior during network outage  (Andrey Borodin <x4mmm@yandex-team.ru>)
Список pgsql-hackers
On Fri, 2021-07-09 at 23:10 +0500, Andrey Borodin wrote:
> In my experience SIGTERM coped fine so far.

OK. I don't think ignoring SIGTERM in the way my patch does it is a
great solution, and it's not getting much support, so I think I'll back
away from that idea.

I had a separate discussion with Andres, and he made a distinction
between explicit vs. implicit actions. For instance, an explicit
SIGTERM or SIGINT should not be ignored (or the functions that cause
those to happen); but if we are waiting for sync rep then it might be
OK to ignore a cancel caused by statement_timeout or a termination due
to a network disconnect.

Separately, I'm taking a vacation. Since there are two versions of the
patch floating around, I will withdraw mine.

Regards,
    Jeff Davis





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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Remove useless int64 range checks on BIGINT sequence MINVALUE/MAXVALUE values
Следующее
От: Yugo NAGATA
Дата:
Сообщение: Question about non-blocking mode in libpq