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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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