pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Don't archive bogus recycled or preallocated files after timelin
Date: Mon, 13 Apr 2015 19:24:15 -0400
Message-ID: <2414.1428967455@sss.pgh.pa.us> (raw)
In-Reply-To: <E1YhfnC-0004X7-RK@gemulon.postgresql.org>
References: <E1YhfnC-0004X7-RK@gemulon.postgresql.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Heikki Linnakangas <heikki.linnakangas@iki.fi> writes:
> To fix, whenever we switch to a new timeline, scan the data directory for
> WAL segments on the old timeline, but with a higher segment number, and
> remove them.

Wait a minute.  Didn't you just break PITR scenarios?  The *entire point*
of the multiple-timeline mechanism is that you can start a new WAL history
from a point in the past without destroying WAL history after that point
on the old timeline.

I've not read the patch, so maybe the code is all right, but this
description most certainly is not.

			regards, tom lane


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



view thread (10+ messages)  latest in thread

Message-ID: <2414.1428967455@sss.pgh.pa.us>
Permalink:  ../2414.1428967455@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2414.1428967455@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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Don't archive bogus recycled or preallocated files after timelin
  In-Reply-To: <2414.1428967455@sss.pgh.pa.us>
  References: <E1YhfnC-0004X7-RK@gemulon.postgresql.org> <2414.1428967455@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