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

Marcel Reutegger commented on OAK-3499:
---------------------------------------

Discussed this issue with Julian and we concluded the current behaviour of 
deleting ClusterNodeInfo with a UUID and expired lease is actually incorrect. 
This prevents recovery from running for this ClusterNodeInfo, which is exactly 
why LastRevRecoveryRandomizedIT fails.

The implementation should only delete a ClusterNodeInfo with a UUID when the 
there is no lease at all on it.

> Test failures when there is no network interface
> ------------------------------------------------
>
>                 Key: OAK-3499
>                 URL: https://issues.apache.org/jira/browse/OAK-3499
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>    Affects Versions: 1.3.8
>            Reporter: Marcel Reutegger
>            Assignee: Julian Reschke
>            Priority: Minor
>         Attachments: OAK-3499.diff
>
>
> There are test failures when no network interface is available.
> {noformat}
> Tests in error: 
>   purge(org.apache.jackrabbit.oak.plugins.document.CollisionTest): Configured 
> cluster node id 1 already in use: 
>   
> inactiveClusterId(org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreTest):
>  Configured cluster node id 2 already in use: 
>   
> purgeUnmergedBranch(org.apache.jackrabbit.oak.plugins.document.UnmergedBranchTest):
>  Configured cluster node id 1 already in use: 
> {noformat}
> I'm quite confident these used to work before.
> [~reschke], could this be caused by recent changes for OAK-3449?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to