You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Jukka Zitting (Created) (JIRA)" <ji...@apache.org> on 2012/03/09 15:46:59 UTC

[jira] [Created] (OAK-7) In-memory persistence

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

        

[jira] [Commented] (OAK-7) In-memory persistence

Posted by "Thomas Mueller (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OAK-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226164#comment-13226164 ] 

Thomas Mueller commented on OAK-7:
----------------------------------

By the way, the SimpleKernelImpl also runs fully in memory 
(and doesn't create a directory) when using "simple:"
(MicroKernelFactory.getInstance("simple:"))
                
> 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
>            Assignee: Stefan Guggisberg
>             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

        

[jira] [Resolved] (OAK-7) In-memory persistence

Posted by "Stefan Guggisberg (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Guggisberg resolved OAK-7.
---------------------------------

    Resolution: Fixed

fixed in svn r1299193
                
> 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
>            Assignee: Stefan Guggisberg
>             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

        

[jira] [Assigned] (OAK-7) In-memory persistence

Posted by "Stefan Guggisberg (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OAK-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Guggisberg reassigned OAK-7:
-----------------------------------

    Assignee: Stefan Guggisberg
    
> 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
>            Assignee: Stefan Guggisberg
>             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

        

[jira] [Commented] (OAK-7) In-memory persistence

Posted by "Stefan Guggisberg (Commented) (JIRA)" <ji...@apache.org>.
    [ 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