jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cédric Damioli <cedric.dami...@anyware-tech.com>
Subject Persistence of Locks ?
Date Fri, 24 Jun 2005 14:20:48 GMT
Hi all,

I noticed that locks are persisted in the locks file only at repository 
shutdown time.
This leads to strange behaviours when the JVM ends for any reason 
(crash, process kill, ...) without correctly disposing the Repository : 
after restarting, no Node is locked anymore !

Is it a bug or a feature ?

I understand that writing this locks file each time a Node is locked or 
unlocked may be too much, but it may at least be configurable.

What do you think ?

Regards,

-- 
Cédric Damioli
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com


Mime
View raw message