jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "RepositoryLock" by ThomasMueller
Date Mon, 19 Oct 2009 14:24:55 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The "RepositoryLock" page has been changed by ThomasMueller.


  == Using the Cooperative File Lock Mechanism ==
+ Since Jackrabbit 1.6 an alternative repository locking mechanism is available.
  Some NFS implementations do not release native locks after a hard reboot. In this case the
workaround is to manually delete all .lock files. Older NFS implementation throw the exception
"No locks available", which means the NFS does not support native file locks.
  To solve this problem, Jackrabbit also supports cooperative file locking. This mechanism
is not based on native file locks, but instead uses background threads that periodically update
a sentinel file (lock.properties). The algorithm of cooperative file locking is described
below. To use cooperative file locking, add this to your repository.xml before the </Repository>

View raw message