jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7) In-memory persistence
Date Fri, 09 Mar 2012 15:08:58 GMT

    [ https://issues.apache.org/jira/browse/OAK-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226125#comment-13226125
] 

Stefan Guggisberg commented on OAK-7:
-------------------------------------

> Currently that's not possible since the o.a.j.mk.Repository class always creates the
homeDir, even if you switch the DefaultRevisionStore to use InMemPersistence.

+1 for changing the current behavior and just creating the homeDir on demand, i.e. lazily
when it's actually accessed.
                
> In-memory persistence
> ---------------------
>
>                 Key: OAK-7
>                 URL: https://issues.apache.org/jira/browse/OAK-7
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>            Reporter: Jukka Zitting
>             Fix For: 0.1
>
>
> There should be a way to run an Oak repository that requires zero disk access. Currently
that's not possible since the o.a.j.mk.Repository class always creates the homeDir, even if
you switch the DefaultRevisionStore to use InMemPersistence.
> Having such a fully in-memory repository makes it easier (and faster) to run test cases
for which the actual persistence mechanism is irrelevant.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message