Re: Skip checkpoint on promoting from streaming replication

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, masao(dot)fujii(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Skip checkpoint on promoting from streaming replication
Date: 2013-01-24 18:54:52
Message-ID: CA+U5nM+6EAhQnqV9EnhsML9TBnMScA7eJ4FMLm9AbaR80ByfPg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 24 January 2013 17:44, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:

>> At replay, an end-of-recovery record should be a signal to the hot standby
>> mechanism that there are no transactions running in the master at that
>> point, same as a shutdown checkpoint.
>
> I had a reason why I didn't do that, but it seems to have slipped my mind.
>
> If I can't remember, I'll add it.

I think it was simply to keep things simple and avoid bugs in this release.

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Phil Sorber 2013-01-24 19:10:01 Re: [PATCH] pg_isready (was: [WIP] pg_ping utility)
Previous Message Heikki Linnakangas 2013-01-24 18:53:18 Re: logical changeset generation v4 - Heikki's thoughts about the patch state