Skip site navigation (1) Skip section navigation (2)

fast promotion and log_checkpoints

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: fast promotion and log_checkpoints
Date: 2013-05-01 09:05:44
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

In HEAD, when the standby is promoted, recovery requests the checkpoint
but doesn't wait for its completion. I found the checkpoint starting log message
of this checkpoint looks odd as follows:

    LOG:  checkpoint starting:

I think something like the following is better.

    LOG:  checkpoint starting: end-of-recovery

In 9.2 or before, "end-of-recovery" part is logged. Even if we changed the
behavior of end-of-recovery checkpoint, I think that it's more intuitive to
label it as "end-of-recovery". Thought?


Fujii Masao


pgsql-hackers by date

Next:From: Mark KirkwoodDate: 2013-05-01 09:43:36
Subject: Re: In progress INSERT wrecks plans on table
Previous:From: Atri SharmaDate: 2013-05-01 09:02:26
Subject: Re: Graph datatype addition

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group