You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2012/11/27 09:51:58 UTC

[jira] [Reopened] (JCR-3389) Implement a MultiDataStore

     [ https://issues.apache.org/jira/browse/JCR-3389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger reopened JCR-3389:
-----------------------------------


Claus, I noticed that your changes use tabs instead of spaces for indentation. Can you please fix that?

Also, woulnd't it be easier to use DocumentBuilder.newDocument().createElement() instead of implementing your own Element class?
                
> Implement a MultiDataStore
> --------------------------
>
>                 Key: JCR-3389
>                 URL: https://issues.apache.org/jira/browse/JCR-3389
>             Project: Jackrabbit Content Repository
>          Issue Type: New Feature
>          Components: jackrabbit-core
>    Affects Versions: 2.4.2
>            Reporter: Claus Köll
>            Assignee: Claus Köll
>             Fix For: 2.6
>
>         Attachments: JCR-3389_2.patch, JCR-3389_3.patch, JCR-3389.patch
>
>
> The idea of a multidatastore is to decorate two datastores. It can be used to implement a Primary/Archive DataStore.
> New binary files are saved into the primary. A archive task would move files from the primary to the backup datastore. Reading from a MultiDataStore is transparent to the jcr api. So it will always return files either from the primary or from the backup datastore.
> The primary datastore can be mapped to a fast storage medium and the archive to a cheap sata or a tape library.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira