Francesco Mari created OAK-4310:
-----------------------------------
Summary: Avoid instanceof checks in SegmentDiscoveryLiteService
Key: OAK-4310
URL: https://issues.apache.org/jira/browse/OAK-4310
Project: Jackrabbit Oak
Issue Type: Bug
Components: segment-next, segmentmk
Reporter: Francesco Mari
Assignee: Francesco Mari
{{SegmentDiscoveryLiteService}} performs instanceof checks on the {{NodeStore}}
service it depends on. A better approach would be to register the
{{DiscoveryLiteDescriptor}} service as part of the activation of
{{SegmentNodeStoreService}} since the descriptor is anyway tied to the content
managed by that instance of {{NodeStore}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)