Re: Avoiding shutdown checkpoint at failover

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Avoiding shutdown checkpoint at failover
Date: 2011-11-13 08:13:03
Message-ID: CA+U5nM+idXgnLvu8Nq4EbeSRaVuHmRNXXx58c3DCzTCtekirKg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 1, 2011 at 12:11 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:

> When I say skip the shutdown checkpoint, I mean remove it from the
> critical path of required actions at the end of recovery. We can still
> have a normal checkpoint kicked off at that time, but that no longer
> needs to be on the critical path.
>
> Any problems foreseen? If not, looks like a quick patch.

Patch attached for discussion/review.

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

Attachment Content-Type Size
fast_failover.v1.patch application/octet-stream 9.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2011-11-13 08:50:39 Re: Re: [patch] Include detailed information about a row failing a CHECK constraint into the error message
Previous Message Simon Riggs 2011-11-13 07:47:06 Re: why do we need two snapshots per query?