Re: Integrating Replication into Core - Mailing list pgsql-hackers

From David Boreham
Subject Re: Integrating Replication into Core
Date
Msg-id 4565B051.2080400@boreham.org
Whole thread Raw
In response to Re: Integrating Replication into Core  (Markus Schiltknecht <markus@bluegap.ch>)
Responses Re: Integrating Replication into Core  (Markus Schiltknecht <markus@bluegap.ch>)
Re: Integrating Replication into Core  (Markus Schiltknecht <markus@bluegap.ch>)
List pgsql-hackers
Markus Schiltknecht wrote:

> Probably that's just me, but I'm not aware of any (OSS) project which 
> can emulate a network (or even a GCS), start and stop processes as 
> requested and check how they react upon different inputs.

I've worked on an emulated test rig for a replication system (not RDBMS 
but for LDAP).
We used netem (OSS) for the network emulation and a pile of python and 
shell scripts and
C client test apps.
Testing replication is hard, of course, and you have to roll most of it 
yourself :(

> If you know such a thing, please email me! (I've looked at STAF, but 
> that seems overly complex and targeted at completely different use-case.)

In my experience test frameworks tend to provide less useful 
functionality than one might hope.
Sometimes to the point that they're hardly worth bothering with at all.




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.2 open items list
Next
From: Markus Schiltknecht
Date:
Subject: Re: Integrating Replication into Core