signal and startup process

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема signal and startup process
Дата
Msg-id AANLkTi=aHWc0=rOgtJvwkc5=1y5e2MciXNa=D=LOW6wr@mail.gmail.com
обсуждение исходный текст
Ответы Re: signal and startup process  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Hi,

It takes nonsensically extra several seconds to shut down the standby server.
This is because the startup process cannot respond immediately the SIGTERM
signal sent by postmaster for the shutdown while it's sleeping on WaitLatch.
This delays the shutdown for up to the sleep time on WaitLatch (currently
5 seconds).

The signal handlers of the startup process should call SetLatch to respond
the signals even while it's sleeping on WaitLatch, like those of walsender
already do. The attached patch does this.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Bug in writeTimeLineHistory
Следующее
От: Dennis Björklund
Дата:
Сообщение: Re: Why do we have a database specification in .pgpass?