Re: WAL format

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WAL format
Date: 2009-12-08 01:28:33
Message-ID: 1260235713.3665.217.camel@ebony
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2009-12-07 at 21:28 +0200, Heikki Linnakangas wrote:

> The changes to ReadRecord in the streaming replication patch feel a
> bit awkward, because it has to work around the fact that WAL is
> streamed as a stream of bytes, but ReadRecord works one page at a
> time. I'd like to replace ReadRecord with a simpler ring buffer
> approach, but handling the continuation records makes it a bit hard.

If this was earlier in the release cycle, I'd feel happier.

2.5 months before beta is the wrong time to re-design the crash recovery
data format, especially because its only "a bit awkward". We're bound to
break something unforeseen and not have time to fix it. If you were
telling me "impossible", I'd be all ears.

I feel your pain, but less drastic solutions are always best in such an
important area, at least while we lack automated test harnesses there.

--
Simon Riggs www.2ndQuadrant.com

In response to

  • WAL format at 2009-12-07 19:28:38 from Heikki Linnakangas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2009-12-08 01:41:31 Re: Exclusion Constraint vs. Constraint Exclusion
Previous Message KaiGai Kohei 2009-12-08 01:27:09 Re: Adding support for SE-Linux security