[
https://issues.apache.org/jira/browse/OAK-4310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francesco Mari resolved OAK-4310.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.5.2
1.6
> 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
> Fix For: 1.6, 1.5.2
>
>
> {{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)