From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
Cc: | Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: The way to know whether the standby has caught up with the master |
Date: | 2011-05-25 18:08:52 |
Message-ID: | 20110525180852.GA6735@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, May 25, 2011 at 12:34:59PM +0100, Simon Riggs wrote:
> On Wed, May 25, 2011 at 6:16 AM, Heikki Linnakangas
> <heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
>
> >> To achieve that, I'm thinking to change walsender so that, when the
> >> standby
> >> has caught up with the master, it sends back the message indicating that
> >> to
> >> the standby. And I'm thinking to add new function (or view like
> >> pg_stat_replication)
> >> available on the standby, which shows that info.
> >
> > By the time the standby has received that message, it might not be caught-up
> > anymore because new WAL might've been generated in the master already.
>
> AFAICS, this is an exact case of the Byzantine General's problem.
Have they updated it to acknowledge that the city is now called
Istanbul?
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2011-05-25 18:09:26 | Re: Proposal: Another attempt at vacuum improvements |
Previous Message | Marco Nenciarini | 2011-05-25 18:05:48 | Minor issues with docs |