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 "Dominique Pfister (JIRA)" <ji...@apache.org> on 2012/08/22 16:58:42 UTC
[jira] [Resolved] (OAK-216) Occasional
org.apache.jackrabbit.mk.store.NotFoundExceptions
[ https://issues.apache.org/jira/browse/OAK-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dominique Pfister resolved OAK-216.
-----------------------------------
Resolution: Fixed
Assignee: Dominique Pfister
Issue was caused by a wrong assumption in the GC, that all branches are uniquely identifiable by their branch root id, which is wrong, as one can create two branches of the same commit.
> 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
> Assignee: Dominique Pfister
>
> 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