Re: Latches, signals, and waiting

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Latches, signals, and waiting
Дата
Msg-id AANLkTimM0xUu87Ctg-1z8t4gnTRXMei9AQRkqYO9jajt@mail.gmail.com
обсуждение исходный текст
Ответ на Latches, signals, and waiting  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Sep 15, 2010 at 10:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> So I'm wondering if we couldn't eliminate the five-second sleep
> requirement here too.

That would make the shutdown time longer since startup process currently
cannot respond to SIGTERM and SIGHUP immediately. To avoid this, I think
that we should change the signal handlers of startup process so that they
call WakeupRecovery.

The attached patch makes StartupProcSigHupHandler and StartupProcShutdownHandler
call WakeupRecovery.

Regards,

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

Вложения

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Latches, signals, and waiting
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Latches, signals, and waiting