Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 74925 invoked from network); 14 Mar 2007 10:58:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Mar 2007 10:58:14 -0000 Received: (qmail 3056 invoked by uid 500); 14 Mar 2007 10:58:21 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 3027 invoked by uid 500); 14 Mar 2007 10:58:21 -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 3018 invoked by uid 99); 14 Mar 2007 10:58:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 03:58:21 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of tobias.strasser@gmail.com designates 64.233.182.190 as permitted sender) Received: from [64.233.182.190] (HELO nf-out-0910.google.com) (64.233.182.190) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Mar 2007 03:58:10 -0700 Received: by nf-out-0910.google.com with SMTP id x4so155772nfb for ; Wed, 14 Mar 2007 03:57:49 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=cxQ/xBulbU9lsscYtDQ+2phVFqlU2vBvUPXEEvUZNfZqtRfEigXnjmjzYsA+Xkg9IHnt9McUH3knTAwSLv8mQzlRG1qa4kIlTH82f2EAMfLjGb+6r4Y87MCvf60vf/pLmkKJgRomXUV4cK/ACOxPsBR1UsC36ArGFxNVAhaiIMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=sNRnYiP+TxQxiXZpQtDP8s+bwjn2SWQyEaJJ5zFOZvHqOwyro3U7mL56pYwMVkfNs6OtpkG/36N59OKAy7N7WtlQ3jVfxB+96oSKPlfSrwpS8N/I5DDzYZwx08UHLfDzahQOsIn7Bg6dLIsgg2ic+Iw7Rg6gPzTnFhTrx8qjiy0= Received: by 10.78.100.1 with SMTP id x1mr1085893hub.1173869869312; Wed, 14 Mar 2007 03:57:49 -0700 (PDT) Received: by 10.82.141.18 with HTTP; Wed, 14 Mar 2007 03:57:49 -0700 (PDT) Message-ID: <8be731880703140357g19b06745h2a7fd53eaa47a868@mail.gmail.com> Date: Wed, 14 Mar 2007 11:57:49 +0100 From: "Tobias Bocanegra" Reply-To: tobias.bocanegra@day.com Sender: tobias.strasser@gmail.com To: dev@jackrabbit.apache.org Subject: Re: Possible deadlock of jcr-server 1.2.1 (rmi) In-Reply-To: <9f929f1c0703140339m7d12ca6lbb1f8d865cc6fe6e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45F7B6AD.70101@gmx.net> <510143ac0703140155r54caaf58h7cfc17500bdd36e4@mail.gmail.com> <9f929f1c0703140339m7d12ca6lbb1f8d865cc6fe6e@mail.gmail.com> X-Google-Sender-Auth: 58bc5d1bebe20994 X-Virus-Checked: Checked by ClamAV on apache.org hi, we analyzed the issue several times and most of the fixes were hacks to prevent deadlocks and data corruption. imo, we can't fixed the transaction/concurrency issues that occur together with versioning without a bigger redesign of some of the core parts of jackrabbit. regards, toby On 3/14/07, Miro Walker wrote: > We've been aware of this issue for a while. Unfortunately, the locking > implementation is pretty hard to disentangle, and we haven't been able > to come up with a fix. However, we have been able to work around it by > adding an extra level of synchronisation in our own application that > ensures only one simultaneous versioning operation can occur. I guess > it depends how big a hit this would be as to whether it would be a > suitable solution for anyone else. > > Miro > > On 3/14/07, Jukka Zitting wrote: > > Hi, > > > > Seems like another case of the age-old JCR-18 issue with concurrent > > versioning. Both of the updates contain some versioning operations, > > and since concurrent versioning is at the moment still a rather > > dangerous sport, I'm not surprised if bad things like a deadlock can > > occur. > > > > Any contributions in further diagnosing and resolving the concurrent > > versioning issues would be very much appreciated! > > > > BR, > > > > Jukka Zitting > > > -- -----------------------------------------< tobias.bocanegra@day.com >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---