jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "DataStore" by ThomasMueller
Date Mon, 26 Jan 2009 08:43:59 GMT
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:

- If multiple repositories use the same data store, the deleteUnused() method must not be
used. Instead, the process is:
+ The process above applies to a standalone repository. When clustered, the garbage collection
can be run from any cluster node.
+ If multiple distinct repositories use the same data store, the process is a bit different:
First, call gc.scan() on the first repository, then on the second and so on. At the end, call
gc.deleteUnused() on the first repository:
+ {{{
+ gc1.scan();
+ gc2.scan();
+ ...
+ gc1.deleteUnused();
+ }}}
+ An alternative is:
   1. Write down the current time = X
   1. Run gc.scan() on each repository 
   1. Manually delete files with last modified date older than X
  == How to write a new data store implementation ==

View raw message