From: Pete Zaitcev Subject: [Patch 3/3] tabled: flip the switch to CLD-based configuration Date: Fri, 28 Aug 2009 20:42:07 -0600 Message-ID: <20090828204207.6f2f9a69@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Jeff Garzik Cc: Project Hail List This patch switches tabled from using clause to reading what Chunk posted into CLD. This is the default mode used in clouds, so we want to test it during the build. Note that tabled should boot normally and tolerate a delayed start-up of Chunk in either mode, before and after the switch. This patch demonstrates how to flip the two configuration files atomically. Signed-off-by: Pete Zaitcev diff --git a/test/chunkd-test.conf b/test/chunkd-test.conf index 119aa00..9256b9d 100644 --- a/test/chunkd-test.conf +++ b/test/chunkd-test.conf @@ -9,11 +9,7 @@ chunkd.pid data/chunk - - +1 18081 localhost diff --git a/test/tabled-test.conf b/test/tabled-test.conf index 0f23e17..7958505 100644 --- a/test/tabled-test.conf +++ b/test/tabled-test.conf @@ -5,10 +5,6 @@ data/tdb 18083 - - 18082 - localhost - 18081 localhost