Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 49767 invoked from network); 1 Apr 2009 08:25:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 08:25:35 -0000 Received: (qmail 81175 invoked by uid 500); 1 Apr 2009 08:25:34 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 81111 invoked by uid 500); 1 Apr 2009 08:25:34 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 81103 invoked by uid 99); 1 Apr 2009 08:25:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 08:25:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 08:25:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 66230234C003 for ; Wed, 1 Apr 2009 01:25:13 -0700 (PDT) Message-ID: <1451258872.1238574313403.JavaMail.jira@brutus> Date: Wed, 1 Apr 2009 01:25:13 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1605) RepositoryLock does not work on NFS sometimes In-Reply-To: <1934959994.1210865995673.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-1605: ------------------------------- Issue Type: New Feature (was: Bug) Classifying this as a new feature. > RepositoryLock does not work on NFS sometimes > --------------------------------------------- > > Key: JCR-1605 > URL: https://issues.apache.org/jira/browse/JCR-1605 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: jackrabbit-core > Reporter: Thomas Mueller > Assignee: Thomas Mueller > Priority: Minor > Fix For: 1.6.0 > > Attachments: repositoryLockMechanism.patch > > > The RepositoryLock mechanism currently used in Jackrabbit uses FileLock. This doesn't work on some NFS file system. It looks like only NFS version 4 and newer supports locking. Older implementations may throw a IOException "No locks available", which means the NFS does not support byte-range locking. > I propose to add a second locking mechanism, and add a configuration option to use it. For example: . This second locking mechanism is a cooperative locking protocol that uses a background (watchdog) thread and only uses regular file operations. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.