Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery.
Date
Msg-id 7682.1235055630@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery.  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Re: [COMMITTERS] pgsql: Start background writer during archive recovery.  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: ohp@pyrenet.fr
Date:
Subject: Re: pg_restore new option -m
Next
From: Tom Lane
Date:
Subject: Re: pg_restore new option -m