Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 12923 invoked from network); 22 Feb 2005 07:24:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Feb 2005 07:24:35 -0000 Received: (qmail 95261 invoked by uid 500); 22 Feb 2005 07:24:31 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 95191 invoked by uid 99); 22 Feb 2005 07:24:30 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of tobias.strasser@gmail.com designates 64.233.184.204 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.204) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 21 Feb 2005 23:24:29 -0800 Received: by wproxy.gmail.com with SMTP id 69so988454wra for ; Mon, 21 Feb 2005 23:24:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=CoOaZvPgqGWDMIdNc++DUpBbAZj483xOnF1xYx/S3RXXNSWHsXg8UIgN45UsolkczVch0m8PE1Iz995hTmL43pHNF1wiUmratM7qx/llRmI5BeK91wPGV4Ushhk4kp779sh1pIeiSmjMjhnIs8j/ZrXSdXCMPXyhndcxlMnckpo= Received: by 10.54.35.45 with SMTP id i45mr18745wri; Mon, 21 Feb 2005 23:24:26 -0800 (PST) Received: by 10.54.22.50 with HTTP; Mon, 21 Feb 2005 23:24:25 -0800 (PST) Message-ID: <8be73188050221232464ac3c34@mail.gmail.com> Date: Tue, 22 Feb 2005 08:24:25 +0100 From: Tobias Strasser Reply-To: tobias.strasser@day.com To: jackrabbit-dev@incubator.apache.org Subject: Re: lost nodes after delete()? In-Reply-To: <004a01c5189f$ae7643a0$3c0aa8c0@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <004a01c5189f$ae7643a0$3c0aa8c0@avalon> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi vadim, your obsevations are correct. this results out of 2 reasons: 1) deleting a node does not delete its assosiated version history. that means, the versionhistory and all its versions will be kept for later restore. the VersionHistory.removeVersion() can remove versions. the history itself cannot be removed, and will stay in the repository for ever (jackrabbit will remove the VH when all its versions were removed). 2) there is still a little bug in the versioning, that does not properly remove persistence data of removed versions and/or version labels. but this will be solved soon. i will create a jira issue for this: http://issues.apache.org/jira/browse/JCR-50 cheers, tobi On Tue, 22 Feb 2005 08:30:53 +0300, artifex wrote: > Hi, > > After creating huge amount nodes in repository, calling checkIn/CheckOut for > some nodes and then removing content, it was found out, that remains > garbage(?) in file system. > I do approximately such sequence of actions: > > 1. after creating repository & certain base content > 40 files / 49 folders in repository > 2. creating a quantity of nodes > 567 files / 457 folders in repository > 3. CheckIn/CheckOut for some nodes + label additions > 779 files / 614 folders in repository > 4. Moving nodes > 771 files/605 folders in repository > 5. Removing all content (except nodes from point #1 ) > 212 files/191 folder in repository > > 212 not equal 40! For example, In \version\blobs\xx\xx\... folder I can > see files on which contents it is possible to define, that they should be > removed earlier. > > Really a problem or I something incorrectly do it? > > (Sorry for my english) > > Thanks, > Vadim > > -- ------------------------------------------< tobias.strasser@day.com >--- Tobias Strasser, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---