Re: Recovery Test Framework

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Simon Riggs <simon(at)2ndQuadrant(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Recovery Test Framework
Date: 2009-01-12 17:20:23
Message-ID: 20090112172023.GG4919@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Simon Riggs wrote:
>> Recovery doesn't have a test framework as yet.
>
> I have been having these concerns as well. In fact, I recall
> discussions at least 8 years back about how pg_dump doesn't really have
> any organized testing, and we also have little regular testing of PITR
> aside from specific exercises that users or developers occasionally run.
>
> The question remains how to do it.

A very simple way to start would be to stop emitting shutdown
checkpoints. This would mean that any server restart would cause
recovery. This wouldn't be exhaustive, but enough people doing that
should cause at least some bugs to emerge.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2009-01-12 17:20:27 Re: Recovery Test Framework
Previous Message Bruce Momjian 2009-01-12 17:19:51 Re: Proposal: new border setting in psql