jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller" <thomas.tom.muel...@gmail.com>
Subject Re: Datastore garbage collector removes in-use files
Date Tue, 18 Mar 2008 09:19:32 GMT
Hi,

You are right, there is a problem using the data store with
SimpleDbPersistenceManager. This is a limitation of the current
implementation. I have now updated the wiki at
http://wiki.apache.org/jackrabbit/DataStore

Regards,
Thomas

On Tue, Mar 18, 2008 at 3:04 AM, Pankaj_Gupta <pankaj.gupta@ansys.com> wrote:
>
>  After a little more digging I found why the SimpleDbPersistenceManager wasn't
>  working for either the custom or built-in garbage collector.
>
>  It seems that when SimpleDbPersistenceManager is used then Jackrabbit stores
>  the file content in both the datastore and the blobs folder, even if
>  datastore has been specified in repository.xml and
>  org.jackrabbit.useDataStore is set to true. And when reading the content it
>  just reads it from the blobs folder. So the content written in DataStore is
>  redundant.
>
>  By keeping everything else the same and only changing the persistence
>  manager to BundleDbPersistenceManager the file storage works as expected.
>  The blobs folder doesn't get created and the file content is written only in
>  datastore.
>
>  This is getting really weird and is making me wonder whether I am doing
>  something fundamentally wrong here.
>  --
>  View this message in context: http://www.nabble.com/Datastore-garbage-collector-removes-in-use-files-tp16108822p16112214.html
>
>
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>

Mime
View raw message