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

Re: SR fails to send existing WAL file after off-line copy

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Greg Smith <greg(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Matt Chesler <matt(at)pragmatrading(dot)com>
Subject: Re: SR fails to send existing WAL file after off-line copy
Date: 2010-11-01 20:32:18
Message-ID: AANLkTimDqd4++_FbjOA0ZaD+8to0JVrCk+JiQDb60sdA@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Mon, Nov 1, 2010 at 12:37 AM, Heikki Linnakangas
<heikki(dot)linnakangas(at)enterprisedb(dot)com> wrote:
> Yes, indeed there is a corner-case bug when you try to stream the very first
> WAL segment, with log==seg==0.

This smells very much like
http://article.gmane.org/gmane.comp.db.postgresql.devel.general/137052

I wonder if there's some defensive programming way to avoid bugs of this sort.

-- 
greg

In response to

Responses

pgsql-hackers by date

Next:From: Jeff DavisDate: 2010-11-01 20:39:14
Subject: Re: Range Types, discrete and/or continuous
Previous:From: Greg SmithDate: 2010-11-01 20:02:47
Subject: Re: SR fails to send existing WAL file after off-line copy

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