Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 62192 invoked from network); 5 Jan 2011 17:27:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2011 17:27:08 -0000 Received: (qmail 16262 invoked by uid 500); 5 Jan 2011 17:27:08 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 16084 invoked by uid 500); 5 Jan 2011 17:27:07 -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 16077 invoked by uid 99); 5 Jan 2011 17:27:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 17:27:07 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 17:27:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p05HQk7k000789 for ; Wed, 5 Jan 2011 17:26:46 GMT Message-ID: <11560909.164431294248406229.JavaMail.jira@thor> Date: Wed, 5 Jan 2011 12:26:46 -0500 (EST) From: "Carsten Ziegeler (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2859) Make open scoped locks recoverable In-Reply-To: <5100067.156451294219425338.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCR-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977861#action_12977861 ] Carsten Ziegeler commented on JCR-2859: --------------------------------------- I'm fine with Jukka's proposal as well - my idea was based on another repository implementation I've seen - in the end I don't care what the exact way is, as long as it is possible > Make open scoped locks recoverable > ---------------------------------- > > Key: JCR-2859 > URL: https://issues.apache.org/jira/browse/JCR-2859 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: locks > Affects Versions: 2.2.0 > Reporter: Carsten Ziegeler > > The lock tokens for open scoped locks are currently tied to the session which created the lock. If the session dies (for whatever reason) there is no way to recover the lock and unlock the node. > There is a theoretical way of adding the lock token to another session, but in most cases the lock token is not available. > Fortunately, the spec allows to relax this behaviour and I think it would make sense to allow all sessions from the same user to unlock the node - this is still in compliance with the spec but would make unlocked locked nodes possible in a programmatic way. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.