Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 94368 invoked from network); 12 Dec 2006 08:54:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2006 08:54:06 -0000 Received: (qmail 77221 invoked by uid 500); 12 Dec 2006 08:54:13 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 76862 invoked by uid 500); 12 Dec 2006 08:54:12 -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 76853 invoked by uid 99); 12 Dec 2006 08:54:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 00:54:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [212.27.42.64] (HELO smtp7-g19.free.fr) (212.27.42.64) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 00:53:52 -0800 Received: from [127.0.0.1] (bon31-5-82-241-233-86.fbx.proxad.net [82.241.233.86]) by smtp7-g19.free.fr (Postfix) with ESMTP id DBA2554B5 for ; Tue, 12 Dec 2006 09:53:29 +0100 (CET) Message-ID: <457E6E08.9040603@anyware-tech.com> Date: Tue, 12 Dec 2006 09:53:28 +0100 From: =?UTF-8?B?Q8OpZHJpYyBEYW1pb2xp?= User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: dev@jackrabbit.apache.org Subject: Re: [jira] Commented: (JCR-134) Unreferenced VersionHistory should be deleted automatically. References: <23805115.1165866022471.JavaMail.jira@brutus> <457DC26A.1070303@decoursey.net> In-Reply-To: <457DC26A.1070303@decoursey.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 0657-0, 12/12/2006), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Paul J DeCoursey a écrit : > Cédric Damioli (JIRA) wrote: >> [ >> http://issues.apache.org/jira/browse/JCR-134?page=comments#action_12457455 >> ] Cédric Damioli commented on JCR-134: >> ------------------------------------ >> >> The VH need only to be kept when there are remaining Version attached >> to it. >> In many apps, it would be great to get rid of empty VH (ie no more >> Version, and no more Node referencing it). >> > This doesn't seem right to me. Kind of defeats the purpose of > Versioning if we start removing deleted items, deleted is just another > state in the history that should be tracked and preserved. > Deleting Versions means actually deleting these history states. Its no more than an administrative task, which in some cases may be very useful, eg. to maintain the repository as small as possible, or to keep only important versions (up to the app, of course). The point of this JCR-134 issue is only that when there is no more Version in the VH (they have all been deleted) and no more Node in any workspace referencing this VH, there should be a way to also delete the VH, which can't be useful anymore. Regards, Cédric