jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-587) DefaultRevisionStoreTest.testConcurrentGC fails every now and then.
Date Thu, 24 Jan 2013 14:43:12 GMT

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

Michael Dürig commented on OAK-587:
-----------------------------------

One problem is how the put tokens are copied to into an array in {{DefaultRevisionStore#markUncommittedNodes}}.
This is not atomic and there is no guarantee that the {{putTokens}} map did not change between
the {{size()}} and the {{keySet()}} calls. 
                
> DefaultRevisionStoreTest.testConcurrentGC fails every now and then.
> -------------------------------------------------------------------
>
>                 Key: OAK-587
>                 URL: https://issues.apache.org/jira/browse/OAK-587
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mk
>            Reporter: angela
>
> i marked the failing test with @Ignore.
> it would be nice though if someone could investigate why the test is failing.
> thanks.
> Tests in error: 
>   testConcurrentGC(org.apache.jackrabbit.mk.store.DefaultRevisionStoreTest): java.util.concurrent.ExecutionException:
org.apache.jackrabbit.mk.store.NotFoundException: 78a45769aec95b5abf0a8d6b75d3ff2648069bd1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message