pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: PITR potentially broken in 9.2
Date: Wed, 28 Nov 2012 14:47:47 +0100
Message-ID: <20121128134746.GB18785@awork2.anarazel.de> (raw)
In-Reply-To: <50B613A2.3080601@vmware.com>
References: <CAMkU=1wpvYJVEDo6Qvq4QbosZ+AV6BMVCf+XVCG=mJqFRjQ8Pg@mail.gmail.com>
	<20121128132650.GB3892@awork2.anarazel.de>
	<50B613A2.3080601@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2012-11-28 15:37:38 +0200, Heikki Linnakangas wrote:
> On 28.11.2012 15:26, Andres Freund wrote:
> >Hm. Are you sure its actually reading your backup file? Its hard to say
> >without DEBUG1 output but I would tentatively say its not reading it at
> >all because the the "redo starts at ..." message indicates its not using
> >the checkpoint location from the backup file.
> 
> By backup file, you mean the backup history file? Since 9.0, recovery does
> not read the backup history file, it's for informational/debugging purposes
> only. All the information recovery needs is in the backup_label, and an
> end-of-backup WAL record marks the location where pg_stop_backup() was
> called, ie. how far the WAL must be replayed for the backup to be
> consistent.
> 

I mean the label read by read_backup_label(). Jeff's mail indicated it
had CHECKPOINT_LOCATION at 1/188D8120 but redo started at 1/CD89E48.

 >Can you reproduce the issue? If so, can you give an exact guide? If not,
> >do you still have the datadir et al. from above?

> I just committed a fix for this, but if you can, it would still be nice if
> you could double-check that it now really works.

Yuck. Too bad that that got in.

Greetings,

Andres Freund

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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (61+ messages)  latest in thread

Message-ID: <20121128134746.GB18785@awork2.anarazel.de>
Permalink:  ../20121128134746.GB18785@awork2.anarazel.de/
Also on:    postgresql.org/message-id/20121128134746.GB18785@awork2.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andres@2ndquadrant.com, hlinnakangas@vmware.com, jeff.janes@gmail.com
  Subject: Re: PITR potentially broken in 9.2
  In-Reply-To: <20121128134746.GB18785@awork2.anarazel.de>
  References: <CAMkU=1wpvYJVEDo6Qvq4QbosZ+AV6BMVCf+XVCG=mJqFRjQ8Pg@mail.gmail.com> <20121128132650.GB3892@awork2.anarazel.de> <50B613A2.3080601@vmware.com> <20121128134746.GB18785@awork2.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox