Re: WIP partial replication patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP partial replication patch
Date
Msg-id 7228.1281792102@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP partial replication patch  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On Sat, Aug 14, 2010 at 08:40:24AM +0200, Boszormenyi Zoltan wrote:
>> And in this patch, the startup process only tries to connect
>> after signalling the postmaster that a consistent state is reached.
>> And the connection has a reasonable timeout built in.

> I don't think you currently can guarantee you allways have enough
> local WAL to even reach a consistent point.

Even if you do, the patch will malfunction (and perhaps corrupt the
database) while reading that WAL.  Yes, it'd work once you reach a
consistent database state, but bootstrapping a slave into that
condition will be far more painful than it is with the current
replication code.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Recognize functional dependency on primary keys.
Next
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Recognize functional dependency on primary keys.