Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 89716 invoked from network); 29 Feb 2008 10:03:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 10:03:53 -0000 Received: (qmail 40801 invoked by uid 500); 29 Feb 2008 10:03:47 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 40775 invoked by uid 500); 29 Feb 2008 10:03:47 -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 40764 invoked by uid 99); 29 Feb 2008 10:03:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 02:03:47 -0800 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; Fri, 29 Feb 2008 10:03:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E7C2234C04A for ; Fri, 29 Feb 2008 02:02:51 -0800 (PST) Message-ID: <1387852022.1204279371645.JavaMail.jira@brutus> Date: Fri, 29 Feb 2008 02:02:51 -0800 (PST) From: "Alexander Klimetschek (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1428) Add API for selective bundle consistency check (Jackrabbit-specific) In-Reply-To: <2046758230.1204115391061.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573658#action_12573658 ] Alexander Klimetschek commented on JCR-1428: -------------------------------------------- BTW: my status is that I have a patch ready, I am currently testing it. > Add API for selective bundle consistency check (Jackrabbit-specific) > -------------------------------------------------------------------- > > Key: JCR-1428 > URL: https://issues.apache.org/jira/browse/JCR-1428 > Project: Jackrabbit > Issue Type: New Feature > Components: jackrabbit-core > Reporter: Alexander Klimetschek > Fix For: 1.3.4 > > > Add a jackrabbit-specific API for doing a selective consistencyCheck, ie. on single nodes. The current entire-workspace check can be very slow if there workspace is large enough. Also it should be easy to write a tool to invoke that feature programmatically rather than by configuration + restart (see below). > Existing Implementation: > The current bundle consistencyCheck feature is enabled by setting a bundle PM parameter and restarting Jackrabbit, it will then run upon startup (see JCR-972 for the only issue regarding bundle consistency check). This check looks for broken parent-child relationships, ie. it will remove any child node entries that reference non-existing parent nodes. For non-existing parent UUIDs and other problems in bundles it will log those. > Outlook: > An advanced consistencyCheck could also check for non-existing version nodes and vice-versa (see JCR-630), but this is not the focus of this issue and could be a later addition to the API. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.