jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patricio Echagüe <patric...@gmail.com>
Subject Re: Unlocking a node, locked by a jackrabbit instance that crashed (cluster of two instances)
Date Fri, 11 Dec 2009 22:37:02 GMT
Would anyone be able to help me with this issue?

2009/12/10 Patricio Echagüe <patricioe@gmail.com>

> Hi all, I'm running some test cases to figure out how to sort out this
> issues, with no success so far.
>
> Scenario: I have a cluster of  two jackrabbit (2.0) instances. Both using
> the same MySql DB and BundlePersistenceManager.
>
> JRA (Jackrabbit A) locks effectively a node with path "/nodeLockedFromA"
> with a open-scoped lock. After this point JRA crashes.
> Later, JRB(Jackrabbit B - different instance) try to acquire a lock for the
> same node (path:"/nodeLockedFromA") with no success since that node was
> locked for another session in another Jackrabbit instance(JRA) that crashed
> previously leaving the node locked.
>
> The node "/nodeLockedFromA" when I invoke lock.isAlive() returns true.
>
> Is there any way to resolve this situation?
> Could anyone give me a hint of how the code would look like?
>
> Thanks a lot
>
>
> --
> Patricio.-
>



-- 
Patricio.-

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message