Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery.
От | Heikki Linnakangas |
---|---|
Тема | Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery. |
Дата | |
Msg-id | 499D86C6.4010905@enterprisedb.com обсуждение исходный текст |
Ответ на | Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery. (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery.
|
Список | pgsql-hackers |
Tom Lane wrote: > Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes: >> Simon Riggs wrote: >>> More likely to be an uncommon race condition, rather than a error >>> specific to dungbeetle. If startup process death is slow, this could >>> happen, though hasn't occurred in other tests. > >> True, the startup process can live for a short while concurrently with >> bgwriter, walwriter and autovacuum launcher, before it exits. > > Maybe the postmaster should wait for startup process exit before > deciding to open for business, instead of just a signal. Not a bad idea. Although, there's nothing wrong with the current way either. The startup process does a proc_exit(0) right after sending the signal ATM, so there's no real work left at that point. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: