Stefan's bug (was: max_standby_delay considered harmful)

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Stefan's bug (was: max_standby_delay considered harmful)
Дата
в 21:48:51
Msg-id
AANLkTimrBKB2OHXgrYMGL89mT-YplUmQrjwbILRC41Vb@mail.gmail.com
Список
Дерево обсуждения
Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Tom Lane <tgl@sss.pgh.pa.us>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Tom Lane <tgl@sss.pgh.pa.us>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Tom Lane <tgl@sss.pgh.pa.us>
Re: Stefan's bug (was: max_standby_delay considered harmful) Simon Riggs <simon@2ndQuadrant.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Robert Haas <robertmhaas@gmail.com>
Re: Stefan's bug (was: max_standby_delay considered harmful) Fujii Masao <masao.fujii@gmail.com>
On Wed, May 12, 2010 at 3:55 PM, Robert Haas  wrote:
> I am wondering if we are not correctly handling the case where we get
> a shutdown request while we are still in the PM_STARTUP state.  It
> looks like we might go ahead and switch to PM_RECOVERY and then
> PM_RECOVERY_CONSISTENT without noticing the shutdown.  There is some
> logic to handle the shutdown when the startup process exits, but if
> the startup process never exits it looks like we might get stuck.

I can reproduce the behavior Stefan is seeing consistently using the
attached patch.

W1: postgres -D ~/pgslave
W2: pg_ctl -D ~/pgslave stop

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company
В списке pgsql-hackers по дате отправления
От: Tatsuo Ishii
Дата:
От: Joshua D. Drake
Дата:
FAQ