jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Pfister (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-114) MicroKernel API: specify retention policy for old revisions
Date Thu, 05 Jul 2012 08:30:33 GMT

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

Dominique Pfister commented on OAK-114:
---------------------------------------

The javadoc is possibly not clear enough: a revision returned by getHeadRevision remains accessible
for _at least_ 10 minutes or _even longer_ if it is still the head revision, regardless of
the time it was committed. So in Jukka's snippet above, the getNodes call wouldn't fail, because
only 10 minutes passed.

Anyway, I think we really need some performance figures first, before we can decide whether
this policy is too aggressive. OTOH, the current GC logic is quite small and straightforward,
so it shouldn't be difficult to change it at a later time if need arises.
                
> MicroKernel API: specify retention policy for old revisions
> -----------------------------------------------------------
>
>                 Key: OAK-114
>                 URL: https://issues.apache.org/jira/browse/OAK-114
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mk
>            Reporter: Stefan Guggisberg
>            Assignee: Stefan Guggisberg
>         Attachments: OAK-114.patch
>
>
> the MicroKernel API javadoc should specify the minimal guaranteed retention period for
old revisions. 

--
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