Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 12379 invoked from network); 9 Mar 2009 19:08:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2009 19:08:54 -0000 Received: (qmail 70568 invoked by uid 500); 9 Mar 2009 19:08:08 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 70556 invoked by uid 500); 9 Mar 2009 19:08:08 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 70538 invoked by uid 99); 9 Mar 2009 19:08:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 12:08:07 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of monkiki@gmail.com designates 209.85.132.251 as permitted sender) Received: from [209.85.132.251] (HELO an-out-0708.google.com) (209.85.132.251) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 19:07:58 +0000 Received: by an-out-0708.google.com with SMTP id c2so928074anc.1 for ; Mon, 09 Mar 2009 12:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=2vdPDZxpA1zJidLYKzytJReKqkq/Sq5/JDOJePR9W40=; b=TzgQ9SWVd8v6P6SIofemK6GABLGL+5Modxhj6LuB2DMyBfAXcEYtqMdI9wbKstYYQq /V77YcO1oheD0PGvOsmFIRW7W639vwHFl3/aBO7rDVUBBJlnEqmxzmPuLT9geKmK8Q50 dqJvUf8Np3MMKQq8f81He9pD1Bavgyk9vMxnc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IqIllcYU3dgfKNfKaWIz3MYvXRIgunjBaHFv2MAJ1CBt3ANHfDDdAfSIxZp3uAsXOQ JFoLdPl1L0br85udp5cm05qyErdXKzNC4nEvt69sWd8tcXsnr8Ql4z1kP+78Lq1C5DKz 1Y81Vb6XYmL5d2GSGDz9nymv4zB78LtqypQ5U= MIME-Version: 1.0 Received: by 10.100.105.9 with SMTP id d9mr3775619anc.142.1236625657041; Mon, 09 Mar 2009 12:07:37 -0700 (PDT) In-Reply-To: References: <8f70390903091145s51612decr265ad1ce399e7edd@mail.gmail.com> Date: Mon, 9 Mar 2009 20:07:37 +0100 Message-ID: <8f70390903091207n3229bcd8j9bba17e4ab76ff9b@mail.gmail.com> Subject: Re: problems running DataStore Garbage Collector From: Paco Avila To: users@jackrabbit.apache.org Content-Type: multipart/alternative; boundary=0016e64135de0214490464b4593a X-Virus-Checked: Checked by ClamAV on apache.org --0016e64135de0214490464b4593a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Mon, Mar 9, 2009 at 8:02 PM, Alexander Klimetschek wrote: > On Mon, Mar 9, 2009 at 7:45 PM, Paco Avila wrote: > > I run this code every 5 minutes (the first three lines get the session of > a > > SuperUser internal application session): > > If you want to run the garbage collector, I suggest to do it more like > once every night (when access to your application is low). 5 minutes > is most likely impacting your performance too much, since the garbage > collector scans the entire repository. 5 minutes is only for testing porpuses, i have planned to run this process every night. > > > but it never remove anything from the datastore. I have deleted some > > document from the repository and I don't understand why they are not > deleted > > from the datastore. Also I have logged out from the system to verify > there > > is no cached references to these deleted documents. > > Hmm... Are you sure the documents you removed are actually stored in > the DataStore? Yes, I can see them in the repository/repository/datastore folder. My class also implements ScanEventListener so, it have the afterScanning and beforeScanning methods. The node passed as first and only argument if always null, this is typical behavior? > Regards, > Alex > > -- > Alexander Klimetschek > alexander.klimetschek@day.com > -- Paco Avila GIT Consultors tel: +34 971 498310 fax: +34 971496189 e-mail: pavila@git.es http://www.git.es --0016e64135de0214490464b4593a--