From users-return-17381-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Apr 21 10:50:01 2011 Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92DBD2742 for ; Thu, 21 Apr 2011 10:50:01 +0000 (UTC) Received: (qmail 98067 invoked by uid 500); 21 Apr 2011 10:50:00 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 97996 invoked by uid 500); 21 Apr 2011 10:50:00 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Delivered-To: moderator for users@jackrabbit.apache.org Received: (qmail 26816 invoked by uid 99); 19 Apr 2011 12:24:50 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.stocker@liip.ch designates 194.50.176.144 as permitted sender) Message-ID: <4DAD7EF4.9020202@liip.ch> Date: Tue, 19 Apr 2011 14:24:20 +0200 From: Christian Stocker Organization: Liip AG User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: users@jackrabbit.apache.org CC: Jeroen Reijn Subject: Re: Add new nodes to a cluster References: <4DA6BC64.5080907@chregu.tv> <4DABFBE1.7020300@wyona.com> <4DAC3A0E.6070302@liip.ch> In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=0748D5FE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all thanks a lot for your answers, looks good to me and we will proceed ;) christian On 19.04.11 13:46, Jeroen Reijn wrote: >> > >> > >> > On 18.04.11 11:04, Jeroen Reijn wrote: >>> > > I'm also not 100% sure, but I can second Alex his answer. >>> > >>From what I've seen the new cluster node will start from the persisted >> > data >>> > > and will continue from there on with using the journal. >> > >> > The question is then, how does the new cluster node know on which >> > position he should start? Or do we "just" have to make sure, that >> > nothing writes between the start of the new node and "when it's ready". >> > How do we know it's ready then? >> > > If you're using a database I know that there is a table in which Jackrabbit > stores the global revision, which is the latest revision. All the nodes in > the cluster will work towards that revision based on the repository journal. > My best bet would be that when a new node in the cluster starts, it starts > from this global revision. > > Next to the global_revision table, there is also a local_revision table that > contains the current revision for each node in the cluster. > > > -- Liip AG // Feldstrasse 133 // CH-8004 Zurich Tel +41 43 500 39 81 // Mobile +41 76 561 88 60 www.liip.ch // blog.liip.ch // GnuPG 0x0748D5FE