jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-216) Occasional org.apache.jackrabbit.mk.store.NotFoundExceptions
Date Wed, 01 Aug 2012 21:42:02 GMT

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

Jukka Zitting commented on OAK-216:

In revision 1368268 I increased the initial delay of the garbage collector to 60 minutes,
since before then it in any case shouldn't be removing any revisions. That should work around
the problem for now, but we should restore the normal settings once this problem has been
> Occasional org.apache.jackrabbit.mk.store.NotFoundExceptions
> ------------------------------------------------------------
>                 Key: OAK-216
>                 URL: https://issues.apache.org/jira/browse/OAK-216
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>            Reporter: Jukka Zitting
> Every now and then our builds fail with one or another of the JCR TCK tests failing due
to a {{org.apache.jackrabbit.mk.store.NotFoundException}} being thrown on some revision in
the MicroKernel.
> Since the garbage collector is currently only instructed to remove revisions that are
over 60 minutes old, such lost revisions should never occur in normal builds.
> The following change to line 163 of {{DefaultRevisionStore.java}} makes the problem easy
to reproduce reliably, which strongly suggests that this problem indeed is caused or at least
triggered by the garbage collector:
> {code}
> -            }, 60, 60, TimeUnit.SECONDS);
> +            }, 1, 1, TimeUnit.SECONDS);
> {code}

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


View raw message