From commits-return-5651-apmail-jackrabbit-commits-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Mar 27 14:00:46 2008 Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 21621 invoked from network); 27 Mar 2008 14:00:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 14:00:45 -0000 Received: (qmail 58173 invoked by uid 500); 27 Mar 2008 14:00:44 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 58133 invoked by uid 500); 27 Mar 2008 14:00:44 -0000 Mailing-List: contact commits-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 commits@jackrabbit.apache.org Received: (qmail 58124 invoked by uid 99); 27 Mar 2008 14:00:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 07:00:44 -0700 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.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 14:00:13 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id E0B75D2DD for ; Thu, 27 Mar 2008 14:00:24 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: commits@jackrabbit.apache.org Date: Thu, 27 Mar 2008 14:00:24 -0000 Message-ID: <20080327140024.16827.38104@eos.apache.org> Subject: [Jackrabbit Wiki] Update of "DataStore" by ThomasMueller X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification. The following page has been changed by ThomasMueller: http://wiki.apache.org/jackrabbit/DataStore The comment on the change is: garbage collection when the data store is shared accross repositories ------------------------------------------------------------------------------ gc.scan(); gc.stopScan(); - // could be a separate button, if multiple repositories use the same data store: + // delete old data gc.deleteUnused(); }}} + + If multiple repositories use the same data store, the deleteUnused() method must not be used. Instead, the process is: + + * Write down the current time = X + * Run gc.scan() on each repository + * Manually delete files with last modified date older than X == How to write a new data store implementation ==