jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Stocker <christian.stoc...@liip.ch>
Subject Re: Add new nodes to a cluster
Date Tue, 19 Apr 2011 12:24:20 GMT
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


Mime
View raw message