Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 80733 invoked from network); 13 Aug 2009 15:06:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Aug 2009 15:06:34 -0000 Received: (qmail 2095 invoked by uid 500); 13 Aug 2009 15:06:40 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 2053 invoked by uid 500); 13 Aug 2009 15:06:40 -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 2041 invoked by uid 99); 13 Aug 2009 15:06:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 15:06:40 +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; Thu, 13 Aug 2009 15:06:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E2E5E234C1EB for ; Thu, 13 Aug 2009 08:06:14 -0700 (PDT) Message-ID: <1647966481.1250175974928.JavaMail.jira@brutus> Date: Thu, 13 Aug 2009 08:06:14 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-2241) Data Store: garbage collection should ignore removed items In-Reply-To: <1657330083.1249473614786.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-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting updated JCR-2241: ------------------------------- Fix Version/s: 2.0-alpha8 > Data Store: garbage collection should ignore removed items > ---------------------------------------------------------- > > Key: JCR-2241 > URL: https://issues.apache.org/jira/browse/JCR-2241 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Environment: Windows XP (SP3), Java 1.6.0_12-b04 > Reporter: Marcel Reutegger > Assignee: Thomas Mueller > Priority: Minor > Fix For: 2.0-alpha8 > > > The GCConcurrentTest fails sometimes. The problem is that > the garbage collector stops if a node or property was removed > while scanning. Instead, the garbage collector should ignore the > removed item and continue. > ------------------------------------------------------------------------------- > Test set: org.apache.jackrabbit.core.data.TestAll > ------------------------------------------------------------------------------- > Tests run: 19, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.282 sec <<< FAILURE! > testGC(org.apache.jackrabbit.core.data.GCConcurrentTest) Time elapsed: 0.578 sec <<< ERROR! > javax.jcr.InvalidItemStateException: 5fc4130b-aee4-4bef-b51d-21420d78f315/{}data: the item does not exist anymore > at org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:144) > at org.apache.jackrabbit.core.PropertyImpl.getPropertyState(PropertyImpl.java:89) > at org.apache.jackrabbit.core.PropertyImpl.getType(PropertyImpl.java:773) > at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:310) > at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:327) > at org.apache.jackrabbit.core.data.GarbageCollector.recurse(GarbageCollector.java:327) > at org.apache.jackrabbit.core.data.GarbageCollector.scanNodes(GarbageCollector.java:193) > at org.apache.jackrabbit.core.data.GarbageCollector.scan(GarbageCollector.java:177) > at org.apache.jackrabbit.core.data.GCThread.run(GCThread.java:52) > at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.