Re: In-core regression tests for replication, cascading, archiving, PITR, etc. Michael Paquier

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Mark Dilger <markdilger(at)yahoo(dot)com>
Cc: Greg Stark <stark(at)mit(dot)edu>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: In-core regression tests for replication, cascading, archiving, PITR, etc. Michael Paquier
Date: 2014-01-06 18:05:34
Message-ID: 20140106180534.GC15265@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2014-01-06 09:12:03 -0800, Mark Dilger wrote:
> The reason I was going to all the trouble of creating
> chrooted environments was to be able to replicate
> clusters that have tablespaces.  Not doing so makes
> the test code simpler at the expense of reducing
> test coverage.

> I am using the same binaries.  The chroot directories
> are not "chroot jails".  I'm intentionally bind mounting
> out to all the other directories on the system, except
> the other clusters' data directories and tablespace
> directories.  The purpose of the chroot is to make the
> paths the same on all clusters without the clusters
> clobbering each other.

I don't think the benefit of being able to test tablespaces without
restarts comes even close to offsetting the cost of requiring sudo
permissions and introducing OS dependencies. E.g. there's pretty much no
hope of making this work sensibly on windows.

So I'd just leave out that part.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-01-06 18:13:11 Re: ERROR: missing chunk number 0 for toast value
Previous Message Mark Dilger 2014-01-06 18:00:15 Re: In-core regression tests for replication, cascading, archiving, PITR, etc. Michael Paquier