Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 32811 invoked from network); 29 Feb 2008 12:25:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 12:25:52 -0000 Received: (qmail 13998 invoked by uid 500); 29 Feb 2008 12:25:47 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 13939 invoked by uid 500); 29 Feb 2008 12:25: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 13930 invoked by uid 99); 29 Feb 2008 12:25:46 -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 04:25:46 -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 12:25:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5DCFF234C049 for ; Fri, 29 Feb 2008 04:24:51 -0800 (PST) Message-ID: <2005208722.1204287891336.JavaMail.jira@brutus> Date: Fri, 29 Feb 2008 04:24:51 -0800 (PST) From: "Marcel Reutegger (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=12573707#action_12573707 ] Marcel Reutegger commented on JCR-1428: --------------------------------------- I'm sorry, that's probably a misunderstanding. I'm OK with having one or more methods on RepositoryImpl to check consistency as long as they are not public and are only used by WorkspaceImpl. > 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.