Re: Infrastructure changes for recovery

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Infrastructure changes for recovery
Date: 2008-08-07 14:48:06
Message-ID: 29481.1218120486@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> I propose to
> * have startup process signal postmaster when it starts Redo phase (if
> it starts it)

Doesn't seem like "starts recovery" is the point at which you can start
letting clients into the DB. What you want is to reach a point at which
you're sure that the DB is internally consistent, though perhaps not
fully synced with the master. In a PITR recovery scenario this would
correspond to reaching the minimum safe stop point. In true crash
recovery I don't think you can let people in till you're done.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2008-08-07 14:49:38 Re: Visibility Groups
Previous Message Simon Riggs 2008-08-07 14:35:34 Re: Visibility Groups

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2008-08-07 14:56:10 Re: Infrastructure changes for recovery
Previous Message Simon Riggs 2008-08-07 11:44:19 Infrastructure changes for recovery