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] [Created] (OAK-216) Occasional org.apache.jackrabbit.mk.store.NotFoundExceptions
Date Wed, 01 Aug 2012 21:28:03 GMT
Jukka Zitting created OAK-216:
---------------------------------

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

        

Mime
View raw message