Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 46239 invoked from network); 16 Apr 2010 08:01:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Apr 2010 08:01:54 -0000 Received: (qmail 77876 invoked by uid 500); 16 Apr 2010 08:01:54 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 77702 invoked by uid 500); 16 Apr 2010 08:01:53 -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 77695 invoked by uid 99); 16 Apr 2010 08:01:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Apr 2010 08:01:52 +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; Fri, 16 Apr 2010 08:01:50 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3G81Srq004014 for ; Fri, 16 Apr 2010 04:01:29 -0400 (EDT) Message-ID: <13772465.5681271404888885.JavaMail.jira@thor> Date: Fri, 16 Apr 2010 04:01:28 -0400 (EDT) From: "Stephan Huttenhuis (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2598) Saving concurrent sessions executing random operations causes a corrupt JCR In-Reply-To: <1760863561.6711270820390781.JavaMail.jira@brutus.apache.org> 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-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stephan Huttenhuis updated JCR-2598: ------------------------------------ Attachment: ConcurrencyTest3.java I have attached the unit test. A Java property could be introduced to enable/disable the checks. This way a choice can be made between consistency and performance. > Saving concurrent sessions executing random operations causes a corrupt JCR > --------------------------------------------------------------------------- > > Key: JCR-2598 > URL: https://issues.apache.org/jira/browse/JCR-2598 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: 1.6.1, 2.0.0 > Reporter: Stephan Huttenhuis > Attachments: ConcurrencyTest3.java, JCR-2598.patch, org.apache.jackrabbit.core.ConcurrencyTest3.txt, Output after patch.txt, Output before patch.txt > > > Run the attached unit test. Several concurrent sessions add, move, and remove nodes. Then the index is removed and the repository is again started. The repository is in an inconsistent state and the index cannot be rebuild. Also a lot of exceptions occur. See (see Output before patch.txt). Note that the unit test also suffers from the deadlock of issue http://issues.apache.org/jira/browse/JCR-2525 about half the time. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira