CachingFileDataStore vs DataStoreBlobStore

2020-02-21 Thread jorgeeflorez .
Hi, I am trying to pick one data store with the purpose of avoiding binary storage in MongoDB blobs collection. I would like to know which should I choose to be used in production. I have explored a bit (1.12 version) and my guess is that DataStoreBlobStore should be used when you want to store

Versionable node deletion

2020-02-21 Thread jorgeeflorez .
Hi, when I delete a node that has version history, using node.remove() and then session.save(), should all version info related to that node be deleted automatically? what about the files in that version history? After deleting, I print all nodes of the repository and I keep seeing those version

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-21 Thread jorgeeflorez .
Ok, I meant DataStoreBlobStore wrapping a FileDataStore and DataStoreBlobStore wrapping a CachingFileDataStore (I am still confused I guess)... El vie., 21 feb. 2020 a las 16:03, jorgeeflorez . (< jorgeeduardoflo...@gmail.com>) escribió: > Hi, > I am trying to pick one data store with the

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-21 Thread Matt Ryan
Hi, I think I probably will need a bit more information about your use case to know how to help you best; can you provide a bit more detail about your environment and what you are hoping to accomplish? If your storage is "local" (meaning it appears as a local filesystem to Oak), I'd probably use

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-21 Thread jorgeeflorez .
Hi Matt, thanks a lot for your answer. If your storage is "local" (meaning it appears as a local filesystem to > Oak), I'd probably use OakFileDataStore. It implements SharedDataStore so > you can share the same location with multiple instances. For example if > you create a file share on a NAS

Re: CachingFileDataStore vs DataStoreBlobStore

2020-02-21 Thread Matt Ryan
Hi Jorge, On Fri, Feb 21, 2020 at 3:40 PM jorgeeflorez . wrote: > Hi Matt, thanks a lot for your answer. > > If your storage is "local" (meaning it appears as a local filesystem to > > Oak), I'd probably use OakFileDataStore. It implements SharedDataStore > so > > you can share the same