You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2015/09/14 16:13:45 UTC

[jira] [Created] (OAK-3400) ClusterNodeInfo should not be osgi-dependent (for lease check failure handling)

Stefan Egli created OAK-3400:
--------------------------------

             Summary: ClusterNodeInfo should not be osgi-dependent (for lease check failure handling)
                 Key: OAK-3400
                 URL: https://issues.apache.org/jira/browse/OAK-3400
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
    Affects Versions: 1.3.6
            Reporter: Stefan Egli
            Assignee: Stefan Egli
            Priority: Critical
             Fix For: 1.3.7


Currently the ClusterNodeInfo wants an (osgi) ComponentContext so that it can do a bundle-stop on lease failure.

However, osgi-dependency we should only have in DocumentNodeStoreService - and not in DocumentNodeStore/ClusterNodeInfo etc.

So instead of passing a ComponentContext, let the builder have a LeaseFailureHandler which will be passed to the ClusterNodeInfo.

This blocks the IT tests - hence critical



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