jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Boston <...@tfd.co.uk>
Subject Re: Clustering Question
Date Tue, 05 Feb 2013 22:08:05 GMT
On 5 February 2013 20:57, Jeroen Reijn <j.reijn@onehippo.com> wrote:
> On Mon, Feb 4, 2013 at 11:10 AM, Luke Noel-Storr
> <luke.noel-storr@integrate.co.uk> wrote:
>> Also, and advice on locking would be appreciated.
> Sorry can't help you with this one.

JCR locks will work within the same JVM but will not propagate
reliably throughout a cluster since the replay of the journal  (which
is used to propagate the lock) is not synchronised with the writing of
that journal. ie cluster nodes can fall behind.

If you need cluster wide locks then you should probably use separate
component. Since you have Oracle in the mix, a transactional lock
within Oracle will be the easiest way of achieving this. Perhaps a
table with a sha1of the path to be locked will work, with a simple IN
query to select descendents. YMMV.


View raw message