pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Janes <jeff.janes@gmail.com>
Cc: Heikki Linnakangas <hlinnakangas@vmware.com>
Cc: Noah Misch <noah@leadboat.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: PITR potentially broken in 9.2
Date: Tue, 04 Dec 2012 19:20:44 -0500
Message-ID: <20516.1354666844@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMkU=1wo9+TvTy-w9UkSEgwc49kXuu=V=8cEdyaH8CBFyUVeww@mail.gmail.com>
References: <CAMkU=1wpvYJVEDo6Qvq4QbosZ+AV6BMVCf+XVCG=mJqFRjQ8Pg@mail.gmail.com>
	<20121128042728.GB26990@tornado.leadboat.com>
	<50B60E8C.7060602@vmware.com>
	<241.1354117868@sss.pgh.pa.us>
	<CAMkU=1w17GKXFHgt8mUrfcP80Otbd9ye8uTufX-z_JFMD0nexQ@mail.gmail.com>
	<14784.1354394848@sss.pgh.pa.us>
	<CAMkU=1z+Tn46kftM7ptYM8-iqBvH6CrpTv5g=CCHO2zxOXuzvw@mail.gmail.com>
	<16296.1354399004@sss.pgh.pa.us>
	<CAMkU=1wC230iJ9OjJnO5jwP32iR-HtMNqDbXHLaPhudGCZ2x1Q@mail.gmail.com>
	<7787.1354482169@sss.pgh.pa.us>
	<CAMkU=1wo9+TvTy-w9UkSEgwc49kXuu=V=8cEdyaH8CBFyUVeww@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Jeff Janes <jeff.janes@gmail.com> writes:
> I've reproduced it again using the just-tagged 9.2.2, and uploaded a
> 135MB tarball of the /tmp/data_slave2 and /tmp/archivedir to google
> drive.  The data directory contains the recovery.conf which is set to
> end recovery between the two critical time points.

Hmmm ... I can reproduce this with current 9.2 branch tip.  However,
more or less by accident I first tried it with a 9.2-branch postmaster
from a couple weeks ago, and it works as expected with that: the log
output looks like

LOG:  restored log file "00000001000000000000001B" from archive
LOG:  restored log file "00000001000000000000001C" from archive
LOG:  restored log file "00000001000000000000001D" from archive
LOG:  database system is ready to accept read only connections
LOG:  recovery stopping before commit of transaction 305610, time 2012-12-02 15:08:54.000131-08
LOG:  recovery has paused
HINT:  Execute pg_xlog_replay_resume() to continue.

and I can connect and do the pg_xlog_replay_resume() thing.
Note the "ready to accept read only connections" line, which
does not show up with branch tip.

So apparently this is something we broke since Nov 18.  Don't know what
yet --- any thoughts?  Also, I am still not seeing what the connection
is to the original report against 9.1.6.

			regards, tom lane


-- 
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: <20516.1354666844@sss.pgh.pa.us>
Permalink:  ../20516.1354666844@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20516.1354666844@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, jeff.janes@gmail.com, hlinnakangas@vmware.com, noah@leadboat.com
  Subject: Re: PITR potentially broken in 9.2
  In-Reply-To: <20516.1354666844@sss.pgh.pa.us>
  References: <CAMkU=1wpvYJVEDo6Qvq4QbosZ+AV6BMVCf+XVCG=mJqFRjQ8Pg@mail.gmail.com> <20121128042728.GB26990@tornado.leadboat.com> <50B60E8C.7060602@vmware.com> <241.1354117868@sss.pgh.pa.us> <CAMkU=1w17GKXFHgt8mUrfcP80Otbd9ye8uTufX-z_JFMD0nexQ@mail.gmail.com> <14784.1354394848@sss.pgh.pa.us> <CAMkU=1z+Tn46kftM7ptYM8-iqBvH6CrpTv5g=CCHO2zxOXuzvw@mail.gmail.com> <16296.1354399004@sss.pgh.pa.us> <CAMkU=1wC230iJ9OjJnO5jwP32iR-HtMNqDbXHLaPhudGCZ2x1Q@mail.gmail.com> <7787.1354482169@sss.pgh.pa.us> <CAMkU=1wo9+TvTy-w9UkSEgwc49kXuu=V=8cEdyaH8CBFyUVeww@mail.gmail.com> <20516.1354666844@sss.pgh.pa.us>

* 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